diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-21 21:27:17 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-07-18 18:48:19 +0100 |
commit | 1539e05b0ba59cb491ecb4c7237d77741d3b44c0 (patch) | |
tree | c5c025d250495c9061521167c0a82f263868326c /tools/perf/scripts/python/stackcollapse.py | |
parent | b904854e14bb1301190370fbc5ca032212330003 (diff) |
iio: light: veml6030: 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 <Jonathan.Cameron@huawei.com>
Cc: Rishi Gupta <gupt21@gmail.com>
Reviewed-by: Rishi Gupta <gupt21@gmail.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20220621202719.13644-35-jic23@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions