drm/ast: switch to drm_*_get(), drm_*_put() helpers
commit1feba03f726a8b8d36c8530430494e8ac1edf96a
authorCihangir Akturk <cakturk@gmail.com>
Fri, 11 Aug 2017 12:32:50 +0000 (11 15:32 +0300)
committerSean Paul <seanpaul@chromium.org>
Fri, 11 Aug 2017 15:38:47 +0000 (11 11:38 -0400)
treebc593fdac6e3ba0a2e6c6010c47c698e3be152b6
parent5bda902725928fc2eaf58380ab05c4c336aeacad
drm/ast: 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>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1502454794-28558-5-git-send-email-cakturk@gmail.com
drivers/gpu/drm/ast/ast_fb.c
drivers/gpu/drm/ast/ast_main.c
drivers/gpu/drm/ast/ast_mode.c