diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-11-11 16:20:25 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-02-24 12:07:52 +0000 |
commit | 06c6b82bf717f1851ca78d0346e915e879061c69 (patch) | |
tree | b0979948a8c7598fac772d64c738994d1879b551 /drivers/staging/imx-drm | |
parent | 8d71de61526924f516548707a5f16ac9e564aeee (diff) | |
download | linux-stable-06c6b82bf717f1851ca78d0346e915e879061c69.tar.gz linux-stable-06c6b82bf717f1851ca78d0346e915e879061c69.tar.bz2 linux-stable-06c6b82bf717f1851ca78d0346e915e879061c69.zip |
imx-drm: imx-drm-core: get rid of drm_mode_group_init_legacy_group()
Since we're now operating like a conventional DRM driver, doing all
the initialisation within the driver's ->load callback, we don't
need to mess around with the mode groups - we can rely on the one
in the DRM platform code.
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/staging/imx-drm')
-rw-r--r-- | drivers/staging/imx-drm/imx-drm-core.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/imx-drm/imx-drm-core.c b/drivers/staging/imx-drm/imx-drm-core.c index b27c42539e49..dd97412d6c8a 100644 --- a/drivers/staging/imx-drm/imx-drm-core.c +++ b/drivers/staging/imx-drm/imx-drm-core.c @@ -274,12 +274,6 @@ static int imx_drm_driver_load(struct drm_device *drm, unsigned long flags) drm_kms_helper_poll_init(drm); - /* setup the grouping for the legacy output */ - ret = drm_mode_group_init_legacy_group(drm, - &drm->primary->mode_group); - if (ret) - goto err_kms; - ret = drm_vblank_init(drm, MAX_CRTC); if (ret) goto err_kms; |