drm/shmobile: Replace drm_dev_unref with drm_dev_put
Subsystems (2)
Thomas Zimmermann
maintainerPATCH 1/1 drm/shmobile: Replace drm_dev_unref with drm_dev_put
This patch unifies the naming of DRM functions for reference counting of struct drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces.
Signed-off-by Thomas Zimmermann <[email protected]>
--- drivers/gpu/drm/shmobile/shmob_drm_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/shmobile/shmob_drm_drv.c +2 -2
@@ -198,7 +198,7 @@ static int shmob_drm_remove(struct platform_device *pdev)drm_kms_helper_poll_fini (ddev);drm_mode_config_cleanup (ddev);drm_irq_uninstall (ddev); -drm_dev_unref (ddev); +drm_dev_put (ddev);return 0 ; }
@@ -294,7 +294,7 @@ static int shmob_drm_probe(struct platform_device *pdev)drm_kms_helper_poll_fini (ddev);drm_mode_config_cleanup (ddev); err_free_drm_dev: -drm_dev_unref (ddev); +drm_dev_put (ddev);return ret; }
Signature · 6 lines
2.18.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 5 lines · Thomas Zimmermann
This patch unifies the naming of DRM functions for reference counting of struct
drm_device. The resulting code is more aligned with the rest of the Linux kernel interfaces.Signed-off-by Thomas Zimmermann <[email protected]>
Reviewed-by Simon Horman <[email protected]>
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel