aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJonathan Cameron2022-06-21 21:27:11 +0100
committerJonathan Cameron2022-07-18 18:48:19 +0100
commit7b79cda9e297023ad605efaf9a0ae0cf7e27e70d (patch)
treeded45cf870cf7eb2cc58fa4f027c32f58022665b /arch
parent2583f5e828155c2dcacda64c1f42e86d8a4c2d5b (diff)
iio: light: gp2ap002: Switch to DEFINE_RUNTIME_DEV_PM_OPS and pm_ptr()
Switching to these newer macros allows use of pm_ptr() to remove the unused functions and structure if !CONFIG_PM without the need to mark anything __maybe_unused. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20220621202719.13644-29-jic23@kernel.org
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions