summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-21 23:27:18 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-07-18 20:48:19 +0300
commit74f4595ab7f8ff18919c25290e98108671887095 (patch)
treecc00489c5992e59f7c780c7116e8f50392e1c30a /net/lapb/lapb_timer.c
parent1539e05b0ba59cb491ecb4c7237d77741d3b44c0 (diff)
downloadlinux-74f4595ab7f8ff18919c25290e98108671887095.tar.xz
iio: magnetometer: ak8974: 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: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20220621202719.13644-36-jic23@kernel.org
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions