drm/atmel-hlcdc: Use drm_connector_unregister_all()
PATCH 1/1 drm/atmel-hlcdc: Use drm_connector_unregister_all()
From: Thierry Reding <[email protected]>
Commit 6c87e5c3ec6d ("drm: Rename drm_connector_unplug_all() to drm_connector_unregister_all()") didn't update the Atmel HLCDC driver, causing it to fail to build. While at it, remove unnecessary locking.
--- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +1 -8
@@ -612,13 +612,6 @@ err:return ret; } -static void atmel_hlcdc_dc_connector_unplug_all (struct drm_device *dev) -{ -mutex_lock (&dev->mode_config.mutex); -drm_connector_unplug_all (dev); -mutex_unlock (&dev->mode_config.mutex); -} -static void atmel_hlcdc_dc_lastclose (struct drm_device *dev) {struct atmel_hlcdc_dc *dc = dev->dev_private;
@@ -758,7 +751,7 @@ static int atmel_hlcdc_dc_drm_remove(struct platform_device *pdev) {struct drm_device *ddev =platform_get_drvdata (pdev); -atmel_hlcdc_dc_connector_unplug_all (ddev); +drm_connector_unregister_all (ddev);drm_dev_unregister (ddev);atmel_hlcdc_dc_unload (ddev);drm_dev_unref (ddev);
Signature · 6 lines
2.7.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 6 lines · Thierry Reding
From: Thierry Reding <[email protected]>
Commit
6c87e5c3ec6d("drm: Renamedrm_connector_unplug_all()todrm_connector_unregister_all()") didn't update the Atmel HLCDC driver, causing it to fail to build. While at it, remove unnecessary locking.
Quoted 6 lines
Cc Boris Brezillon <[email protected]>Cc Alexey Brodkin <[email protected]>Signed-off-by Thierry Reding <[email protected]>--- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)
Nevermind, I see there are patches for this already.
Thierry
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel