drm/rcar-du: Replace drm_dev_unref with drm_dev_put
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 26 Sep 2018 11:53:12 +0000 (13:53 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 23 Nov 2018 11:51:21 +0000 (13:51 +0200)
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 <tzimmermann@suse.de>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_drv.c

index 7015974c247a04db2a3221eb781f5476fe273543..c6770043dcdcaea664b993497d07c0d8613d0fbf 100644 (file)
@@ -437,7 +437,7 @@ static int rcar_du_remove(struct platform_device *pdev)
        drm_kms_helper_poll_fini(ddev);
        drm_mode_config_cleanup(ddev);
 
-       drm_dev_unref(ddev);
+       drm_dev_put(ddev);
 
        return 0;
 }