]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: switch to drm_*_get(), drm_*_put() helpers
authorCihangir Akturk <cakturk@gmail.com>
Fri, 11 Aug 2017 12:33:07 +0000 (15:33 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 17 Aug 2017 15:57:09 +0000 (17:57 +0200)
commit110ce353bfad33ab08d9dfff0ef497b2c359598c
tree71c3faf42c500271a2e4e07c6b4335bb1a857dc5
parent1fadd7e6fa709fd34db5d2b82086c5918d064e83
drm/tegra: 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: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c
drivers/gpu/drm/tegra/fb.c
drivers/gpu/drm/tegra/gem.c