diff options
| author | Liu Ying <[email protected]> | 2016-07-18 07:44:24 +0000 |
|---|---|---|
| committer | Philipp Zabel <[email protected]> | 2016-08-08 09:44:20 +0000 |
| commit | 8892cc899e15fb896231539c902b813c3f7ab915 (patch) | |
| tree | 45de5c10c2ec683a2d5bed4d20c262699a81a25f /drivers/gpu/drm/imx/imx-drm-core.c | |
| parent | drm/imx: Remove imx_drm_crtc_vblank_get/_put() (diff) | |
| download | kernel-8892cc899e15fb896231539c902b813c3f7ab915.tar.gz kernel-8892cc899e15fb896231539c902b813c3f7ab915.zip | |
drm/imx: Remove imx_drm_crtc_id()
There is no one calling imx_drm_crtc_id() and it is just a simple
wrapper of drm_crtc_index() without doing any thing fancy - the
drivers may call drm_crtc_index() directly. So, let's remove the
wrapper.
Signed-off-by: Liu Ying <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm-core.c')
| -rw-r--r-- | drivers/gpu/drm/imx/imx-drm-core.c | 6 |
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 1fd1900d1b27..1aefced3a81e 100644 --- a/drivers/gpu/drm/imx/imx-drm-core.c +++ b/drivers/gpu/drm/imx/imx-drm-core.c @@ -58,12 +58,6 @@ static int legacyfb_depth = 16; module_param(legacyfb_depth, int, 0444); #endif -unsigned int imx_drm_crtc_id(struct imx_drm_crtc *crtc) -{ - return drm_crtc_index(crtc->crtc); -} -EXPORT_SYMBOL_GPL(imx_drm_crtc_id); - static void imx_drm_driver_lastclose(struct drm_device *drm) { struct imx_drm_device *imxdrm = drm->dev_private; |
