summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib-swnode.h
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2025-11-24 08:20:52 +0800
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-11-25 14:10:06 +0100
commit3f19e57cbfb55d743d60aeebf5d5c48cc7fd5d4e (patch)
treee1cbcdb2d2d8c398454754eb74ab0ae099700a87 /drivers/gpio/gpiolib-swnode.h
parent4cfe6cdba5f8a05ef87e50dac264255f1520c47b (diff)
gpio: dwapb: Use modern PM macros
Use the modern PM macros for the suspend and resume functions to be automatically dropped by the compiler when CONFIG_PM or CONFIG_PM_SLEEP are disabled, without having to use #ifdef guards. This has the advantage of always compiling these functions in, independently of any Kconfig option. Thanks to that, bugs and other regressions are subsequently easier to catch. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Link: https://lore.kernel.org/r/20251124002105.25429-2-jszhang@kernel.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-swnode.h')
0 files changed, 0 insertions, 0 deletions