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

Thierry Reding thierry.reding at gmail.com
Thu Aug 17 15:33:35 UTC 2017


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 at gmail.com>
> ---
>  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170817/7edab88e/attachment.sig>


More information about the dri-devel mailing list