drm: remove drm_mode_object_{un/reference} aliases
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Mon, 19 Mar 2018 05:58:20 +0000 (01:58 -0400)
committerSean Paul <seanpaul@chromium.org>
Mon, 19 Mar 2018 13:09:46 +0000 (09:09 -0400)
commite007488b2fbbda00bc504e37ffdc8866c8f59c5e
tree089c4a8366430f12adf36f4f49bb675beb7c517c
parentc5fe47327b067432ef944714ce66ce75bb85749f
drm: remove drm_mode_object_{un/reference} aliases

This patch remove the compatibility aliases
drm_mode_object_{reference/unreference} of drm_mode_object_{get/put}
since all callers have been converted to the prefered _{get/put}.

Remove the helpers from the semantic patch drm-get-put-cocci.

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180319055820.GA17502@haneen-VirtualBox
include/drm/drm_mode_object.h
scripts/coccinelle/api/drm-get-put.cocci