OpenCloudOS-Kernel/drivers/gpu/drm/qxl
Emil Velikov 9c86fb18ad 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
2020-05-19 22:31:34 +01:00
..
Kconfig drm/qxl: Fix randbuild error 2019-10-17 14:31:50 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qxl_cmd.c drm/qxl: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
qxl_debugfs.c drm/qxl: Don't use drm_device->dev_private 2020-04-28 20:04:01 +02:00
qxl_dev.h drm/qxl: Remove exceding whiteline 2018-10-30 07:19:59 +01:00
qxl_display.c drm/qxl: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
qxl_draw.c drm/qxl: drop use of drmP.h 2019-07-15 18:11:30 +02:00
qxl_drv.c drm/qxl: Don't use drm_device->dev_private 2020-04-28 20:04:01 +02:00
qxl_drv.h drm/qxl: Don't use drm_device->dev_private 2020-04-28 20:04:01 +02:00
qxl_dumb.c drm/qxl: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
qxl_gem.c drm/qxl: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
qxl_image.c drm/qxl: Use 'unsigned int' instead of 'usigned' 2018-10-30 07:20:00 +01:00
qxl_ioctl.c drm/qxl: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
qxl_irq.c drm/qxl: Don't use drm_device->dev_private 2020-04-28 20:04:01 +02:00
qxl_kms.c drm/qxl: Don't use drm_device->dev_private 2020-04-28 20:04:01 +02:00
qxl_object.c drm/qxl: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:34 +01:00
qxl_object.h drm/ttm: use gem vma_node 2019-08-06 08:21:54 +02:00
qxl_prime.c drm/qxl: drop WARN_ONCE() 2019-05-27 13:17:03 +02:00
qxl_release.c drm/qxl: Don't use drm_device->dev_private 2020-04-28 20:04:01 +02:00
qxl_ttm.c drm/qxl: Don't use drm_device->dev_private 2020-04-28 20:04:01 +02:00