aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorHaneen Mohammed <[email protected]>2017-09-20 12:54:48 -0600
committerSean Paul <[email protected]>2017-10-16 15:01:51 -0400
commit4c3cf375bc4042eb8682cc6f4314efe66990421a (patch)
treef206a15a46ce911a4f7f0bc2c9a87b705179db9a /net/switchdev/switchdev.c
parente0ad7c0f37478853f12a723f46f87cd672ca9d67 (diff)
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 <[email protected]> [resolved small conflict with removed armada_gem_dumb_map_offset] Signed-off-by: Sean Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/a59ef1ed109ade897bcffcb01b33214262db8942.1505932812.git.hamohammed.sa@gmail.com
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions