diff options
author | Jonathan Cameron <[email protected]> | 2022-06-21 21:27:04 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-07-18 18:48:18 +0100 |
commit | c422aa418a7ddd3bde04b2c0ad573c34aae53d35 (patch) | |
tree | 68acddfce9a6ce29394cad05bd7957ab71107660 /scripts/gdb/linux/mm.py | |
parent | f3231f912bf478ced5628f808f8b6e0a1e1bd917 (diff) |
iio: light: as73211: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
Using these newer macros allows the compiler to remove the unused
structure and functions when !CONFIG_PM_SLEEP + removes the need to
mark pm functions __maybe_unused.
Signed-off-by: Jonathan Cameron <[email protected]>
Cc: Christian Eggers <[email protected]>
Reviewed-by: Christian Eggers <[email protected]>
Reviewed-by: Paul Cercueil <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions