diff options
author | Jonathan Cameron <[email protected]> | 2022-06-21 21:27:18 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-07-18 18:48:19 +0100 |
commit | 74f4595ab7f8ff18919c25290e98108671887095 (patch) | |
tree | cc00489c5992e59f7c780c7116e8f50392e1c30a /scripts/gdb/linux/mm.py | |
parent | 1539e05b0ba59cb491ecb4c7237d77741d3b44c0 (diff) |
iio: magnetometer: ak8974: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros
Using these new macros allows the compiler to remove the unused dev_pm_ops
structure and related functions if !CONFIG_PM without the need to mark
the functions __maybe_unused.
Signed-off-by: Jonathan Cameron <[email protected]>
Cc: Linus Walleij <[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