Re: [PATCH v3 21/28] drm/tegra: switch to drm_*_get(), drm_*_put() helpers

From: Thierry Reding
Date: Thu Aug 17 2017 - 11:33:44 EST


On Fri, Aug 11, 2017 at 03:33:07PM +0300, Cihangir Akturk wrote:
> 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@xxxxxxxxx>
> ---
> drivers/gpu/drm/tegra/drm.c | 12 ++++++------
> drivers/gpu/drm/tegra/fb.c | 8 ++++----
> drivers/gpu/drm/tegra/gem.c | 10 +++++-----
> 3 files changed, 15 insertions(+), 15 deletions(-)

Applied, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature