diff options
author | Cihangir Akturk <cakturk@gmail.com> | 2017-08-03 14:58:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-18 15:57:15 -0700 |
commit | 4a66af0d23bd9a8c4e435d593c6de15301cd245d (patch) | |
tree | 400bcfe6624ba5af9ec52e3f971500a0e00e36dc /drivers/staging/vboxvideo/vbox_fb.c | |
parent | 227fe242e0245b6fc263d1044026822c81971170 (diff) | |
download | linux-4a66af0d23bd9a8c4e435d593c6de15301cd245d.tar.bz2 |
staging: vboxvideo: switch to drm_*{get,put} helpers
drm_*_reference() and drm_*_unreference() functions are just
compatibility alias for drm_*_get() and drm_*_put() adn should not be
used by new code. So convert all users of compatibility functions to use
the new APIs.
Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vboxvideo/vbox_fb.c')
-rw-r--r-- | drivers/staging/vboxvideo/vbox_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vboxvideo/vbox_fb.c b/drivers/staging/vboxvideo/vbox_fb.c index 35f6d9f8c203..3c09aa468924 100644 --- a/drivers/staging/vboxvideo/vbox_fb.c +++ b/drivers/staging/vboxvideo/vbox_fb.c @@ -358,7 +358,7 @@ void vbox_fbdev_fini(struct drm_device *dev) vbox_bo_unpin(bo); vbox_bo_unreserve(bo); } - drm_gem_object_unreference_unlocked(afb->obj); + drm_gem_object_put_unlocked(afb->obj); afb->obj = NULL; } drm_fb_helper_fini(&fbdev->helper); |