From 73fc0ac4a69506ead7cf0c0ad0ef79f283766f25 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 4 Aug 2018 22:10:44 +0300 Subject: 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 Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c') diff --git a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c index 82797df80e66..0a2efcb84532 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c @@ -837,7 +837,7 @@ static int acx565akm_remove(struct spi_device *spi) omapdss_unregister_display(dssdev); acx565akm_disable(dssdev); - acx565akm_disconnect(dssdev); + omapdss_device_disconnect(dssdev, NULL); return 0; } -- cgit