diff options
author | Fabio Estevam <festevam@denx.de> | 2024-10-18 16:58:21 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2024-11-05 12:04:40 +0300 |
commit | 90fc2c8e720b149af6b937f702aca273d00c670e (patch) | |
tree | d775139303cfd211156dc4e93880999dce729dff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 076354a4d4a73cb792a680a7f40f603c9b145a76 (diff) | |
download | linux-90fc2c8e720b149af6b937f702aca273d00c670e.tar.xz |
watchdog: da9063: 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/20241018135821.274376-2-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions