From: Russell King Date: Mon, 11 Nov 2013 16:20:25 +0000 (+0000) Subject: imx-drm: imx-drm-core: get rid of drm_mode_group_init_legacy_group() X-Git-Tag: v5.15~18197^2~586^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06c6b82bf717f1851ca78d0346e915e879061c69;p=platform%2Fkernel%2Flinux-starfive.git 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 Acked-by: Shawn Guo Reviewed-by: Fabio Estevam Signed-off-by: Russell King --- diff --git a/drivers/staging/imx-drm/imx-drm-core.c b/drivers/staging/imx-drm/imx-drm-core.c index b27c425..dd97412 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;