Re: [PATCH] hwmon: jc42: Simplify pm ops handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 13, 2023 at 08:20:49PM +0100, Heiner Kallweit wrote:
> Use pm_sleep_ptr/DEFINE_SIMPLE_DEV_PM_OPS to simplify the code.
> 
> Note: Apparently conditional compiling based on CONFIG_PM
> wasn't optimal, it should have been CONFIG_PM_SLEEP.

Maybe that is apparent to you, but not to me, and I assume it won't
be apparent to others either. That warrants a real explanation,
not just "apparently".

Guenter




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux