drm/armada: Replace drm_framebuffer_reference/unreference() with _get/put()
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Wed, 20 Sep 2017 18:57:16 +0000 (12:57 -0600)
committerSean Paul <seanpaul@chromium.org>
Mon, 16 Oct 2017 19:02:44 +0000 (15:02 -0400)
commita52ff2a509a77aacdcc464f26181e77d49880da9
tree1d6051260b86b66abd680cd12957c5f64dabd112
parent4c3cf375bc4042eb8682cc6f4314efe66990421a
drm/armada: Replace drm_framebuffer_reference/unreference() with _get/put()

This patch replace instances of drm_framebuffer_reference/unreference with
*_get/put() suffixes, because get/put is shorter and consistent with the
kernel use of *_get/put suffixes.
This was done with the following Coccinelle script:

@r1@
expression e;
@@

(
-drm_framebuffer_reference(e);
+drm_framebuffer_get(e);
|
-drm_framebuffer_unreference(e);
+drm_framebuffer_put(e);
)

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/e1df1b3375faa819029559b11c32e10501c5c5d6.1505932812.git.hamohammed.sa@gmail.com
drivers/gpu/drm/armada/armada_crtc.c
drivers/gpu/drm/armada/armada_drv.c
drivers/gpu/drm/armada/armada_overlay.c