summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-08-04 22:10:44 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-09-03 16:13:26 +0300
commit73fc0ac4a69506ead7cf0c0ad0ef79f283766f25 (patch)
tree04cb164c50393026ace25220400351e523d936e3 /drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c
parent1f507968c30b0e86a307164a212ef11def1e5899 (diff)
downloadlwn-73fc0ac4a69506ead7cf0c0ad0ef79f283766f25.tar.gz
lwn-73fc0ac4a69506ead7cf0c0ad0ef79f283766f25.zip
drm/omap: displays: Don't call disconnect handlers directly
In preparation for the move of checks from the disconnect handlers to the omapdss_device_disconnect() function, replace direct calls to the disconnect handlers at remove time with calls to omapdss_device_disconnect(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c')
-rw-r--r--drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c b/drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c
index 50b74e7351e9..ea4cdc8bd2f8 100644
--- a/drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c
+++ b/drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c
@@ -292,7 +292,7 @@ static int lb035q02_panel_spi_remove(struct spi_device *spi)
omapdss_unregister_display(dssdev);
lb035q02_disable(dssdev);
- lb035q02_disconnect(dssdev);
+ omapdss_device_disconnect(dssdev, NULL);
return 0;
}