drm/imx: switch to drm_*_get(), drm_*_put() helpers
authorCihangir Akturk <cakturk@gmail.com>
Fri, 11 Aug 2017 12:32:58 +0000 (15:32 +0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 2 Oct 2017 14:18:58 +0000 (16:18 +0200)
commita8f2023d5d265fe3ff7e434bd7217e394b809f0b
tree8b12647fbb60c9d82bad6f77be16d4194ba3945d
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
drm/imx: 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>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-crtc.c