diff options
| author | Harsha Sharma <[email protected]> | 2017-10-15 00:06:44 +0530 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2017-10-18 12:05:59 +0200 |
| commit | 8e9f8ab47588241ae5f85f24e82f75832de866bd (patch) | |
| tree | 14fd38a3313886d309310221a103f2339b995b37 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
| parent | 526b96c4f8dceb0104e267c61e5a3b22c538570c (diff) | |
drm/i915: Replace *_reference/unreference() or *_ref/unref with _get/put()
Replace instances of drm_framebuffer_reference/unreference() with
*_get/put() suffixes and drm_dev_unref with *_put() suffix
because get/put is shorter and consistent with the
kernel use of *_get/put suffixes.
Done with following coccinelle semantic patch
@@
expression ex;
@@
(
-drm_framebuffer_unreference(ex);
+drm_framebuffer_put(ex);
|
-drm_dev_unref(ex);
+drm_dev_put(ex);
|
-drm_framebuffer_reference(ex);
+drm_framebuffer_get(ex);
)
Signed-off-by: Harsha Sharma <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions