diff options
-rw-r--r-- | DRMJanitors.mdwn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/DRMJanitors.mdwn b/DRMJanitors.mdwn index a191f154..ddf304ba 100644 --- a/DRMJanitors.mdwn +++ b/DRMJanitors.mdwn @@ -14,11 +14,11 @@ All you need is a gpu for a non-converted driver (currently almost all of them, Contact: [[Daniel Vetter|DanielVetter]], Thierry Redding, respective driver maintainers -#### Switch from _reference/unreference to _get/put +#### Switch from reference/unreference to get/put -For some reason drm core uses _reference/unreference suffices for refcounting functions, but kernel uses _get/put (e.g. kref_get/put()). Would be good to switch over for consistency, and it's shorter. Needs to be done in 3 steps for each pair of functions: +For some reason drm core uses reference/unreference suffices for refcounting functions, but kernel uses get/put (e.g. kref_get/put()). Would be good to switch over for consistency, and it's shorter. Needs to be done in 3 steps for each pair of functions: -- Create new _get/put functions, define the old names as compat wrappers. +- Create new get/put functions, define the old names as compat wrappers. - Switch over each file/driver using a cocci-generated spatch. - Once all users of the old names are gone, remove them. |