linux_dsm_epyc7002/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 Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
drm-get-put.cocci drm: introduce drm_dev_{get/put} functions 2017-09-26 13:12:15 +02:00
err_cast.cocci Coccinelle: Move err_cast.cocci to the api directory 2010-08-31 11:37:54 +02:00
kstrdup.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
memdup_user.cocci Coccinelle: limit memdup_user transformation to GFP_KERNEL case 2016-10-01 23:03:09 +02:00
memdup.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
platform_no_drv_owner.cocci coccinelle: api: extend spatch for dropping unnecessary owner 2015-08-19 17:23:45 +02:00
pm_runtime.cocci Coccinelle: pm_runtime: ensure relevance of pm_runtime reports 2016-10-01 23:03:41 +02:00
ptr_ret.cocci scripts/coccinelle: Use PTR_ERR_OR_ZERO 2014-04-08 17:27:01 +02:00
resource_size.cocci Coccinelle: Move resource_size.cocci to the api directory 2010-08-31 11:37:54 +02:00
setup_timer.cocci Coccinelle: setup_timer: Add space in front of parentheses 2016-04-20 09:50:53 +02:00
simple_open.cocci coccinelle: simple_open: Use imperative mood 2015-05-20 14:01:41 +08:00
vma_pages.cocci coccinelle: api: add vma_pages.cocci 2015-05-21 19:19:13 +08:00