aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx/imx-drm-core.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2020-03-05 15:59:36 +0000
committerThomas Zimmermann <[email protected]>2020-04-02 12:16:44 +0000
commit62fbddda2f72b86d6126da2bdbddc330544c6e9f (patch)
tree9765ff9d36b010448c3634b38d9fcbfa2bf2308b /drivers/gpu/drm/imx/imx-drm-core.c
parentdrm/i2c/tda998x: Use simple encoder (diff)
downloadkernel-62fbddda2f72b86d6126da2bdbddc330544c6e9f.tar.gz
kernel-62fbddda2f72b86d6126da2bdbddc330544c6e9f.zip
drm/imx: Use simple encoder
The imx driver uses empty implementations for its encoders. Replace the code with the generic simple encoder. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Acked-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm-core.c')
-rw-r--r--drivers/gpu/drm/imx/imx-drm-core.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c
index 9e8e0b703498..2e38f1a5cf8d 100644
--- a/drivers/gpu/drm/imx/imx-drm-core.c
+++ b/drivers/gpu/drm/imx/imx-drm-core.c
@@ -42,12 +42,6 @@ void imx_drm_connector_destroy(struct drm_connector *connector)
}
EXPORT_SYMBOL_GPL(imx_drm_connector_destroy);
-void imx_drm_encoder_destroy(struct drm_encoder *encoder)
-{
- drm_encoder_cleanup(encoder);
-}
-EXPORT_SYMBOL_GPL(imx_drm_encoder_destroy);
-
static int imx_drm_atomic_check(struct drm_device *dev,
struct drm_atomic_state *state)
{