diff options
author | 2017-10-15 00:06:44 +0530 | |
---|---|---|
committer | 2017-10-18 12:05:59 +0200 | |
commit | 8e9f8ab47588241ae5f85f24e82f75832de866bd (patch) | |
tree | 14fd38a3313886d309310221a103f2339b995b37 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge drm-upstream/drm-next into drm-intel-next-queued (diff) | |
download | linux-dev-8e9f8ab47588241ae5f85f24e82f75832de866bd.tar.xz linux-dev-8e9f8ab47588241ae5f85f24e82f75832de866bd.zip |
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 <harshasharmaiitr@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20171014183644.21990-1-harshasharmaiitr@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions