aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2022-06-04 17:12:20 +0100
committerJonathan Cameron <[email protected]>2022-06-15 22:07:09 +0100
commit2129f25de5821677728689cabf01d74bc9c042cc (patch)
tree403c6e85cc4acf0a2d478f0a31d813f687cef521 /tools/perf/scripts/python
parentcb490b10c3fdd3d700e379d8be8b8d7e4662cff2 (diff)
iio: humidity: hts221: Use EXPORT_SIMPLE_DEV_PM_OPS() to allow compiler to remove dead code.
If CONFIG_PM_SLEEP is not defined using EXPORT_SIMPLE_DEV_PM_OPS() in conjunction with pm_sleep_ptr() allows the compiler to remove the unused code and data. This removes the need for __maybe_unused markings etc. Signed-off-by: Jonathan Cameron <[email protected]> Cc: Lorenzo Bianconi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Lorenzo Bianconi <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions