drm/omap: dss: Remove the dss_mgr_(dis)connect() operations
The dss_mgr .connect() and .disconnect() are implemented as no-op in omapdrm. The operations are unneeded, remove them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:

committed by
Tomi Valkeinen

parent
0f37938c7c
commit
43f7078f6b
@@ -616,16 +616,10 @@ static int dpi_connect(struct omap_dss_device *src,
|
||||
|
||||
dpi_init_pll(dpi);
|
||||
|
||||
r = dss_mgr_connect(dst);
|
||||
r = omapdss_device_connect(dst->dss, dst, dst->next);
|
||||
if (r)
|
||||
return r;
|
||||
|
||||
r = omapdss_device_connect(dst->dss, dst, dst->next);
|
||||
if (r) {
|
||||
dss_mgr_disconnect(dst);
|
||||
return r;
|
||||
}
|
||||
|
||||
dst->dispc_channel_connected = true;
|
||||
return 0;
|
||||
}
|
||||
@@ -636,8 +630,6 @@ static void dpi_disconnect(struct omap_dss_device *src,
|
||||
dst->dispc_channel_connected = false;
|
||||
|
||||
omapdss_device_disconnect(dst, dst->next);
|
||||
|
||||
dss_mgr_disconnect(dst);
|
||||
}
|
||||
|
||||
static const struct omap_dss_device_ops dpi_ops = {
|
||||
|
Reference in New Issue
Block a user