OSDN Git Service

drm/vc4: switch to drm_*{get,put} helpers
authorCihangir Akturk <cakturk@gmail.com>
Thu, 3 Aug 2017 11:58:40 +0000 (14:58 +0300)
committerEric Anholt <eric@anholt.net>
Tue, 8 Aug 2017 20:20:11 +0000 (13:20 -0700)
commit1d5494e965be7b512cc03d48f1bfc6a93a876121
tree8f7a5ee4b2c37ace3068a0b71c83162199ebc9ee
parent97ee731da8dc83e98db06848c6f27188613356ce
drm/vc4: 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: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/1501761585-11757-26-git-send-email-cakturk@gmail.com
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_bo.c
drivers/gpu/drm/vc4/vc4_crtc.c
drivers/gpu/drm/vc4/vc4_gem.c
drivers/gpu/drm/vc4/vc4_kms.c