diff options
author | 2017-09-20 12:54:48 -0600 | |
---|---|---|
committer | 2017-10-16 15:01:51 -0400 | |
commit | 4c3cf375bc4042eb8682cc6f4314efe66990421a (patch) | |
tree | f206a15a46ce911a4f7f0bc2c9a87b705179db9a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/gem-cma-helper: Change the level of the allocation failure message (diff) | |
download | linux-dev-4c3cf375bc4042eb8682cc6f4314efe66990421a.tar.xz linux-dev-4c3cf375bc4042eb8682cc6f4314efe66990421a.zip |
drm/armada: Replace drm_gem_object_reference/unreference() with _get/put()
This patch replace instances of drm_gem_object_reference/unreference with
*_get/put() suffixes, because get/put is shorter and consistent with the
kernel use of *_get/put() suffixes.
This was done with the following Coccinelle script:
@r1@
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: Haneen Mohammed <hamohammed.sa@gmail.com>
[resolved small conflict with removed armada_gem_dumb_map_offset]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/a59ef1ed109ade897bcffcb01b33214262db8942.1505932812.git.hamohammed.sa@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions