drm/omap: remove last uses of omap_overlay_manager
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 5 Nov 2015 08:02:43 +0000 (10:02 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 Mar 2016 15:38:24 +0000 (17:38 +0200)
We have now removed all uses of 'struct omap_overlay_manager', so we can
now remove the last places where it is set.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c

index 3667ff1d8474ec28fde1054ca30365c0b099d55c..263f4b7a57897e4f3f36885dfe4c679979b34684 100644 (file)
@@ -102,8 +102,6 @@ static struct omap_dss_device *omap_crtc_output[8];
 static int omap_crtc_dss_connect(enum omap_channel channel,
                struct omap_dss_device *dst)
 {
-       struct omap_overlay_manager *mgr = omap_dss_get_overlay_manager(channel);
-
        if (omap_crtc_output[channel])
                return -EINVAL;
 
@@ -113,22 +111,14 @@ static int omap_crtc_dss_connect(enum omap_channel channel,
        omap_crtc_output[channel] = dst;
        dst->dispc_channel_connected = true;
 
-       dst->manager = mgr;
-       mgr->output = dst;
-
        return 0;
 }
 
 static void omap_crtc_dss_disconnect(enum omap_channel channel,
                struct omap_dss_device *dst)
 {
-       struct omap_overlay_manager *mgr = omap_dss_get_overlay_manager(channel);
-
        omap_crtc_output[channel] = NULL;
        dst->dispc_channel_connected = false;
-
-       mgr->output->manager = NULL;
-       mgr->output = NULL;
 }
 
 static void omap_crtc_dss_start_update(enum omap_channel channel)