diff options
author | Cihangir Akturk <cakturk@gmail.com> | 2017-08-11 14:33:14 +0200 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-08-11 17:34:07 +0200 |
commit | c58ac649e3553c23a9bafba8c2e5d040aee87484 (patch) | |
tree | 49898511d38b98e2122040aa94f5bf486024a8e0 /drivers/gpu/drm | |
parent | drm: Clean up drm_dev_unplug (diff) | |
download | linux-c58ac649e3553c23a9bafba8c2e5d040aee87484.tar.xz linux-c58ac649e3553c23a9bafba8c2e5d040aee87484.zip |
drm: vboxvideo: switch to drm_*_get(), drm_*_put() helpers
Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference()
and drm_*_unreference() helpers.
drm_*_reference() and drm_*_unreference() functions are just
compatibility alias for drm_*_get() and drm_*_put() and should not be
used by new code. So convert all users of compatibility functions to
use the new APIs.
Generated by: scripts/coccinelle/api/drm-get-put.cocci
Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1502454794-28558-29-git-send-email-cakturk@gmail.com
Diffstat (limited to 'drivers/gpu/drm')
0 files changed, 0 insertions, 0 deletions