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

Joel Stanley joel at jms.id.au
Thu Aug 10 23:38:36 UTC 2017


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

Acked-by: Joel Stanley <joel at jms.id.au>


More information about the dri-devel mailing list