linux/scripts/coccinelle/api
Aishwarya Pant 9a96f55034 drm: introduce drm_dev_{get/put} functions
Reference counting functions in the kernel typically use get/put suffixes. For
maintaining coding style consistency, introduce drm_dev_{get/put} functions. All
callers of drm_dev_ref() API have been converted in this patch and hence it has
been dropped while the drm_dev_unref() API with non-trivial number of users
remains for compatibility.

The semantic patch scripts/coccinelle/api/drm-get-put.cocci has been updated
with the new helper for conversion of drm_dev_unref() to drm_dev_put()

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/6babda56134035a98220d5d37a4fd4048df214ce.1506413698.git.aishpant@gmail.com
2017-09-26 13:12:15 +02:00
..
alloc coccinelle: mm: scripts/coccinelle/api/alloc/pool_zalloc-simple.cocci 2015-09-08 15:35:28 -07:00
debugfs debugfs, coccinelle: check for obsolete DEFINE_SIMPLE_ATTRIBUTE() usage 2016-04-12 14:14:21 -07:00
d_find_alias.cocci
drm-get-put.cocci drm: introduce drm_dev_{get/put} functions 2017-09-26 13:12:15 +02:00
err_cast.cocci
kstrdup.cocci
memdup_user.cocci Coccinelle: limit memdup_user transformation to GFP_KERNEL case 2016-10-01 23:03:09 +02:00
memdup.cocci
platform_no_drv_owner.cocci
pm_runtime.cocci Coccinelle: pm_runtime: ensure relevance of pm_runtime reports 2016-10-01 23:03:41 +02:00
ptr_ret.cocci
resource_size.cocci
setup_timer.cocci Coccinelle: setup_timer: Add space in front of parentheses 2016-04-20 09:50:53 +02:00
simple_open.cocci
vma_pages.cocci