aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/displays/panel-dpi.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2018-03-02 02:43:45 +0200
committerTomi Valkeinen <[email protected]>2018-09-03 16:13:26 +0300
commitc1dfe721e0966947019c43b65f2837c591fdcb3c (patch)
tree8ce6d3643384f63f717b66bf36eb2bce92d32929 /drivers/gpu/drm/omapdrm/displays/panel-dpi.c
parent67822ae11971c664f5d28d7914b4b00cff07a9fd (diff)
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 <[email protected]> Reviewed-by: Sebastian Reichel <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/displays/panel-dpi.c')
-rw-r--r--drivers/gpu/drm/omapdrm/displays/panel-dpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dpi.c b/drivers/gpu/drm/omapdrm/displays/panel-dpi.c
index 3e2bca737de0..64eab64e5f0d 100644
--- a/drivers/gpu/drm/omapdrm/displays/panel-dpi.c
+++ b/drivers/gpu/drm/omapdrm/displays/panel-dpi.c
@@ -47,7 +47,7 @@ static int panel_dpi_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 panel_dpi_disconnect(struct omap_dss_device *dssdev)
omapdss_device_disconnect(src, dssdev);
- omap_dss_put_device(src);
+ omapdss_device_put(src);
}
static int panel_dpi_enable(struct omap_dss_device *dssdev)