OSDN Git Service

drm/virtio: Replace instances of reference/unreference with get/put
authorSrishti Sharma <srishtishar@gmail.com>
Fri, 29 Sep 2017 10:03:39 +0000 (15:33 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 2 Oct 2017 07:48:54 +0000 (09:48 +0200)
commit1af0838de60e723cb02253ecc9b555c30f8f6a6f
treec70fa459b317c1a9d8034764060e8a13e6bc13f6
parentc0f095f766981750d238744e5a0cb3ef20163c28
drm/virtio: Replace instances of reference/unreference with get/put

Replace reference/unreference with get/put as it is consistent
with the kernel coding style. Done using the following semantic
patch by coccinelle.

@r@
expression e;
@@

-drm_gem_object_unreference_unlocked(e);
+drm_gem_object_put_unlocked(e);

Signed-off-by: Srishti Sharma <srishtishar@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1506679419-7130-1-git-send-email-srishtishar@gmail.com
drivers/gpu/drm/virtio/virtgpu_display.c
drivers/gpu/drm/virtio/virtgpu_gem.c
drivers/gpu/drm/virtio/virtgpu_ioctl.c