On 9/25/22 10:27, Jonathan Cameron wrote:
From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> Recently a solution was added to avoiding the need to either guard pm functions with #ifdef magic, or mark the __maybe_unused. https://lore.kernel.org/all/20220107181723.54392-1-paul@xxxxxxxxxxxxxxx/ This series switches hwmon over to the new macros that are intended to replace SIMPLE_DEV_PM_OPS and similar. There are a few drivers in hwmon that might be able fine using DEFINE_SIMPLE_PM_OPS() but currently do not define as many of the callbacks as that macro does. As such I haven't touched them in this set. This is part of general effort to get rid of examples of the older macros that might get copied in new drivers.
Series applied to hwmon-next. Thanks, Guenter