diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-09-08 22:58:40 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-05 11:15:52 +0200 |
commit | a083c755e136844a934bc9b4416cd23b5c19c617 (patch) | |
tree | e46eda4a9ff9b6592808eb740a4e3f1dd2a874c6 /include/linux/fwnode.h | |
parent | 243e1b776f613501cd8de4e56c2eb415c942bb04 (diff) |
devres: rename the first parameter of devm_add_action(_or_reset)
The first parameter of devm_add_action(_or_reset) is a device.
The name 'release' is confusing because it is often used for
dr_release_t in the devres context.
Rename it to 'dev'. No functional change intended.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230908135840.2362708-1-masahiroy@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fwnode.h')
0 files changed, 0 insertions, 0 deletions