Searched hist:"2 d5604c8" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | ina3221.c | 2d5604c8 Sun Sep 25 12:27:59 CDT 2022 Jonathan Cameron <Jonathan.Cameron@huawei.com> 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>
|