aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2020-05-15 09:50:53 +0000
committerEmil Velikov <[email protected]>2020-05-19 21:31:31 +0000
commitbe6ee102341bc4d07e050dda119ecb91229bc654 (patch)
tree5937ff6341801e37b07c783cdcccd2e3fd6b23e1 /drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
parentdrm/gem: add drm_gem_object_put helper (diff)
downloadkernel-be6ee102341bc4d07e050dda119ecb91229bc654.tar.gz
kernel-be6ee102341bc4d07e050dda119ecb91229bc654.zip
drm: remove _unlocked suffix in drm_gem_object_put_unlocked
Spelling out _unlocked for each and every driver is a annoying. Especially if we consider how many drivers, do not know (or need to) about the horror stories involving struct_mutex. Just drop the suffix. It makes the API cleaner. Done via the following script: __from=drm_gem_object_put_unlocked __to=drm_gem_object_put for __file in $(git grep --name-only $__from); do sed -i "s/$__from/$__to/g" $__file; done Pay special attention to the compat #define v2: keep sed and #define removal separate Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Acked-by: Sam Ravnborg <[email protected]> (v1) Reviewed-by: Steven Price <[email protected]> Acked-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_v10_0.c')
0 files changed, 0 insertions, 0 deletions