diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2018-09-26 13:55:25 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2018-11-23 13:51:21 +0200 |
commit | c0ece6742d8025ddfc8584ac6bc656ff2c43cedf (patch) | |
tree | c695f21a20b517b4c9179813ec0e78fffebc3491 /drivers/gpu/drm/shmobile/shmob_drm_drv.c | |
parent | 06fa0d46b181e762f22d0742839200e7235d32ce (diff) | |
download | linux-stable-c0ece6742d8025ddfc8584ac6bc656ff2c43cedf.tar.gz linux-stable-c0ece6742d8025ddfc8584ac6bc656ff2c43cedf.tar.bz2 linux-stable-c0ece6742d8025ddfc8584ac6bc656ff2c43cedf.zip |
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 <tzimmermann@suse.de>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/shmobile/shmob_drm_drv.c')
-rw-r--r-- | drivers/gpu/drm/shmobile/shmob_drm_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/shmobile/shmob_drm_drv.c b/drivers/gpu/drm/shmobile/shmob_drm_drv.c index 6ececad6f845..8554102a6ead 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_drv.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_drv.c @@ -194,7 +194,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; } @@ -290,7 +290,7 @@ err_modeset_cleanup: 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; } |