Re: [PATCH v2 04/29] drm/ast: switch to drm_*_get(), drm_*_put() helpers

From: Joel Stanley
Date: Thu Aug 10 2017 - 19:39:06 EST


On Thu, Aug 10, 2017 at 9:39 PM, Cihangir Akturk <cakturk@xxxxxxxxx> 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>

Acked-by: Joel Stanley <joel@xxxxxxxxx>