]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: core: Simplify devm_pinctrl_*()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 27 Jan 2026 10:32:07 +0000 (11:32 +0100)
committerLinus Walleij <linusw@kernel.org>
Tue, 3 Feb 2026 00:18:18 +0000 (01:18 +0100)
commit74ac08a77b4e77f2a9f3e9ac5f1386cecc95686c
tree00d92cfd7619c3332515e699c665ef38bf325c70
parent17926aa1b62c6ddb1e2ddbda8b2ac46913c5311c
pinctrl: core: Simplify devm_pinctrl_*()

Use devm_add_action_or_reset() instead of devres_alloc() and
devres_add(), which works the same. This will simplify the
code. There is no functional changes.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/core.c