drm/omap: dss: Move and rename omap_dss_(get|put)_device()
The functions operate on any omap_dss_device, move them from display.c to base.c. While at it rename them to match the naming of the other functions operating on struct omap_dss_device. 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
67822ae119
commit
c1dfe721e0
@@ -45,7 +45,7 @@ static int opa362_connect(struct omap_dss_device *dssdev,
|
||||
|
||||
r = omapdss_device_connect(src, dssdev);
|
||||
if (r) {
|
||||
omap_dss_put_device(src);
|
||||
omapdss_device_put(src);
|
||||
return r;
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ static void opa362_disconnect(struct omap_dss_device *dssdev,
|
||||
|
||||
omapdss_device_disconnect(src, &ddata->dssdev);
|
||||
|
||||
omap_dss_put_device(src);
|
||||
omapdss_device_put(src);
|
||||
}
|
||||
|
||||
static int opa362_enable(struct omap_dss_device *dssdev)
|
||||
|
Reference in New Issue
Block a user