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:
Laurent Pinchart
2018-03-02 02:43:45 +02:00
committed by Tomi Valkeinen
parent 67822ae119
commit c1dfe721e0
21 changed files with 62 additions and 66 deletions

View File

@@ -50,7 +50,7 @@ static int tpd_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;
}
@@ -74,7 +74,7 @@ static void tpd_disconnect(struct omap_dss_device *dssdev,
omapdss_device_disconnect(src, &ddata->dssdev);
omap_dss_put_device(src);
omapdss_device_put(src);
}
static int tpd_enable(struct omap_dss_device *dssdev)