diff options
author | Paul Cercueil <paul@crapouillou.net> | 2023-07-06 11:29:28 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2023-08-19 18:14:37 +0300 |
commit | 8b3c3662186046c440ffbb7f5efc5595b1696e9d (patch) | |
tree | b65cdabb22d11010be9ab935a9ff90c9cdc2a4a7 /scripts/gdb/linux/interrupts.py | |
parent | aeb3ef51b602dce456c850414aa1becd0e7aeab1 (diff) | |
download | linux-8b3c3662186046c440ffbb7f5efc5595b1696e9d.tar.xz |
watchdog: starfive: Remove #ifdef guards for PM related functions
Use the new 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: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230706082928.10869-1-paul@crapouillou.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions