summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/shmobile
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-11-29 03:19:04 +0300
committerDave Airlie <airlied@redhat.com>2018-11-29 03:19:09 +0300
commit1a31c26ed7b495f152e3103dc7c68e3307a39541 (patch)
tree64f05f0c356deaf18c5e86bf73a08c4f66f5d822 /drivers/gpu/drm/shmobile
parentbfeb122d3080b03aa49405c615f4d8144ab30073 (diff)
parent256856efb8cc2b5468c69edf45eb0ab579833ce7 (diff)
downloadlinux-1a31c26ed7b495f152e3103dc7c68e3307a39541.tar.xz
Merge tag 'du-next-20181123' of git://linuxtv.org/pinchartl/media into drm-next
R-Car DU changes for v4.21: - R8A7744 and R8A77470 support - R8A77965 LVDS support - Miscellaneous fixes Signed-off-by: Dave Airlie <airlied@redhat.com> From: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/3165107.GPE8tO0qUE@avalon
Diffstat (limited to 'drivers/gpu/drm/shmobile')
-rw-r--r--drivers/gpu/drm/shmobile/shmob_drm_drv.c4
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;
}