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:

committed by
Tomi Valkeinen

parent
1f507968c3
commit
73fc0ac4a6
@@ -206,7 +206,7 @@ static int __exit opa362_remove(struct platform_device *pdev)
|
||||
|
||||
WARN_ON(omapdss_device_is_connected(dssdev));
|
||||
if (omapdss_device_is_connected(dssdev))
|
||||
opa362_disconnect(dssdev, dssdev->dst);
|
||||
omapdss_device_disconnect(dssdev, dssdev->dst);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user