diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2020-05-15 10:51:08 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2020-05-19 22:31:34 +0100 |
commit | 9c86fb18ad9d3587e5112f096f0d0ec3cbf43a65 (patch) | |
tree | 950b3b0493d32147b8508a1628f71f2ffda3a361 /drivers/gpu/drm/zte | |
parent | 496d0cc63f9c075e86f2b1cbdbc8c0e496731a16 (diff) | |
download | lwn-9c86fb18ad9d3587e5112f096f0d0ec3cbf43a65.tar.gz lwn-9c86fb18ad9d3587e5112f096f0d0ec3cbf43a65.zip |
drm/qxl: 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
Cc: Dave Airlie <airlied@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200515095118.2743122-29-emil.l.velikov@gmail.com
Diffstat (limited to 'drivers/gpu/drm/zte')
0 files changed, 0 insertions, 0 deletions