diff options
author | 2022-06-21 21:26:46 +0100 | |
---|---|---|
committer | 2022-07-18 18:48:17 +0100 | |
commit | 45dc8c59e1432f464d08643a2d5dba73804453b4 (patch) | |
tree | 86e2191f969fc6b999a6e2e6b4c75cd315251db4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: adc: ad799x: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() (diff) | |
download | linux-dev-45dc8c59e1432f464d08643a2d5dba73804453b4.tar.xz linux-dev-45dc8c59e1432f464d08643a2d5dba73804453b4.zip |
iio: adc: at91-sam5d2: 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 <Jonathan.Cameron@huawei.com>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Ludovic Desroches <ludovic.desroches@microchip.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-4-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions