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>
This commit is contained in:
Laurent Pinchart
2018-08-04 22:10:44 +03:00
committed by Tomi Valkeinen
parent 1f507968c3
commit 73fc0ac4a6
14 changed files with 14 additions and 14 deletions

View File

@@ -318,7 +318,7 @@ static int nec_8048_remove(struct spi_device *spi)
omapdss_unregister_display(dssdev);
nec_8048_disable(dssdev);
nec_8048_disconnect(dssdev);
omapdss_device_disconnect(dssdev, NULL);
return 0;
}