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

Boris Brezillon boris.brezillon at bootlin.com
Thu Apr 26 12:15:59 UTC 2018


On Thu, 26 Apr 2018 15:58:19 +0530
Vaishali Thakkar <vthakkar1994 at gmail.com> 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 at gmail.com>
> ---
>  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 at bootlin.com>


More information about the amd-gfx mailing list