Re: [PATCH] drm/core: Remove drm_dev_unref() and it's uses

From: Boris Brezillon
Date: Thu Apr 26 2018 - 08:16:12 EST


On Thu, 26 Apr 2018 15:58:19 +0530
Vaishali Thakkar <vthakkar1994@xxxxxxxxx> wrote:

> It's been a while since we introduced drm_dev{get/put} functions
> to replace reference/unreference in drm subsystem for the
> consistency purpose. So, with this patch, let's just replace
> all current use cases of drm_dev_unref() with drm_dev_put and remove
> the function itself.
>
> Coccinelle was used for mass-patching.
>
> Signed-off-by: Vaishali Thakkar <vthakkar1994@xxxxxxxxx>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++--
> drivers/gpu/drm/arc/arcpgu_drv.c | 4 ++--
> drivers/gpu/drm/armada/armada_drv.c | 6 +++---
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 4 ++--

For atmel-hlcdc:

Acked-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxx>