drm/vc4: switch to drm_*{get,put} helpers
authorCihangir Akturk <[email protected]>
Thu, 3 Aug 2017 11:58:40 +0000 (14:58 +0300)
committerEric Anholt <[email protected]>
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 <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Eric Anholt <[email protected]>
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