diff options
author | Fabio Estevam <festevam@denx.de> | 2024-08-09 05:08:21 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2024-09-10 12:05:28 +0300 |
commit | 6adb55917497047455712dd8a85d359034a415a0 (patch) | |
tree | 4b815bc2da5275c6405f8479eee7fadc4bbc496f /scripts/gdb/linux/utils.py | |
parent | 2d9d6d300fb0a4ae4431bb308027ac9385746d42 (diff) | |
download | linux-6adb55917497047455712dd8a85d359034a415a0.tar.xz |
watchdog: imx2_wdt: Remove __maybe_unused notations
Use the DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros to
handle the .suspend/.resume callbacks.
These macros allow the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use __maybe_unused notation.
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240809020822.335682-1-festevam@gmail.com
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/utils.py')
0 files changed, 0 insertions, 0 deletions