diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-08-07 21:56:18 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-09-21 20:42:57 +0300 |
commit | 3259b99e0afc9b7b245b5aaa121a94a2b5d637ce (patch) | |
tree | 757691a0cc0fdfbec0202954e662ca6db714a667 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 66991b106a2c182c1b499d45d3025318d8774bd6 (diff) | |
download | linux-3259b99e0afc9b7b245b5aaa121a94a2b5d637ce.tar.xz |
iio: light: st_uvis25: Use EXPORT_NS_SIMPLE_DEV_PM_OPS()
Using this new macro removes the need to mark the callbacks
__maybe_unused. One slightly complexity in this case is that
the export will exist if CONFIG_PM is set, but only be used
if CONFIG_PM_SLEEP is also set. This is harmless.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Link: https://lore.kernel.org/r/20220807185618.1038812-7-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions