diff options
author | Jonathan Cameron <[email protected]> | 2022-06-21 21:27:07 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2022-07-18 18:48:18 +0100 |
commit | dc69c61019dcbcc4d8e489db6420812ddc0ceb35 (patch) | |
tree | 6a51f993c655d48aa132e41c2385ea4a7b6b1141 /scripts/gdb/linux/mm.py | |
parent | dc0258e33ddb9aef05d212cdbc1a76aa03a5badd (diff) |
iio: proximity: cros_ec_mkbp: 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: Enric Balletbo i Serra <[email protected]>
Cc: Gwendal Grignou <[email protected]>
Cc: Stephen Boyd <[email protected]>
Reviewed-by: Gwendal Grignou <[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