diff options
author | Santha Meena Ramamoorthy <santhameena13@gmail.com> | 2018-03-20 19:29:27 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-03-21 09:19:56 +0100 |
commit | 2793c1d77aa8876e5674e901d051c79570e99db2 (patch) | |
tree | 173b4cd54b0121647c0d822b7a9de650f0c0be31 /Documentation/gpu | |
parent | drm/meson: Fix potential NULL dereference in meson_drv_bind_master() (diff) | |
download | linux-2793c1d77aa8876e5674e901d051c79570e99db2.tar.xz linux-2793c1d77aa8876e5674e901d051c79570e99db2.zip |
drm/qxl: Replace drm_gem_object_reference/unreference() with _get/put()
Replace drm_gem_object_reference/unreference function with *_get/put()
suffixes, because it is shorter and consistent with the kernel
kref_get/put() functions. The following Coccinelle script was used:
@@
expression e;
@@
(
-drm_gem_object_reference(e);
+drm_gem_object_get(e);
|
-drm_gem_object_unreference(e);
+drm_gem_object_put(e);
|
-drm_gem_object_unreference_unlocked(e);
+drm_gem_object_put_unlocked(e);
)
Signed-off-by: Santha Meena Ramamoorthy <santhameena13@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1521570567-22519-1-git-send-email-santhameena13@gmail.com
Diffstat (limited to 'Documentation/gpu')
0 files changed, 0 insertions, 0 deletions