summaryrefslogtreecommitdiffstats
path: root/net/can
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-09-25 18:27:59 +0100
committerGuenter Roeck <linux@roeck-us.net>2022-09-25 14:22:12 -0700
commit2d5604c822e91c3eebaa0f9d0691acb954071ef1 (patch)
treeec272cc04ee8d7678cd2f0af0f1c497a2199b365 /net/can
parent655231d4b958cfe80f92ff8ae5c2d80d125b3c24 (diff)
downloadlinux-stable-2d5604c822e91c3eebaa0f9d0691acb954071ef1.tar.gz
linux-stable-2d5604c822e91c3eebaa0f9d0691acb954071ef1.tar.bz2
linux-stable-2d5604c822e91c3eebaa0f9d0691acb954071ef1.zip
hwmon: (ina3221) Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr()
These new macros allow the compiler to see all the functions even if !CONFIG_PM* and remove the structures and functions if unused. This removes the need for __maybe_unused markings. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Ninad Malwade <nmalwade@nvidia.com> Link: https://lore.kernel.org/r/20220925172759.3573439-19-jic23@kernel.org Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions