diff options
author | Jonathan Cameron <[email protected]> | 2022-06-21 21:27:05 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-07-18 18:48:18 +0100 |
commit | 7eff2dcec69c04f60144e2c13f07b21cb66a638d (patch) | |
tree | 2224ed002980dbe6256531ac02d6bda27ecf0403 /scripts/gdb/linux/mm.py | |
parent | c422aa418a7ddd3bde04b2c0ad573c34aae53d35 (diff) |
iio: light: bh1750: 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: Tomasz Duszynski <[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