devres: Move devm_*_action*() APIs to devres.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 20 Feb 2025 16:20:26 +0000 (18:20 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 28 Apr 2025 07:30:40 +0000 (09:30 +0200)
commitf5e5631df596ade5875ba1dc5d640611745d0c0d
treeca04a511d94c43d82a844ff8b60399b389fae720
parent0af2f6be1b4281385b618cb86ad946eded089ac8
devres: Move devm_*_action*() APIs to devres.h

We have a newly created header linux/device/devres.h that gathers
device managed APIs, so users won't need to include entire device.h
for only these ones. Move devm_*_action*() APIs to devres.h as well.

Reviewed-by: Raag Jadav <raag.jadav@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Zijun Hu <quic_zijuhu@quicinc.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250220162238.2738038-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
include/linux/device.h
include/linux/device/devres.h