Re: [PATCH v2 0/2] hwmon: (pwm-fan) add option to leave fan on shutdown

From: Akinobu Mita
Date: Sun Oct 27 2024 - 01:32:05 EST


2024年10月27日(日) 1:19 Guenter Roeck <linux@xxxxxxxxxxxx>:
>
> On 10/26/24 01:05, Akinobu Mita wrote:
> > I sent these patches a long time ago, but I didn't cc them to the DT list,
> > so the DT bindings changes weren't reviewed.
> >
> > There have been a lot of changes to pwm-fan since then, and I've updated
> > the patch, so please review again.
> >
>
> What changed ? Where is the change log ?

Sorry, I forgot to write the changelog.

Changes in v2
Patch 1:
- use device_property_read_bool() instead of of_property_read_bool()
- skip calling pwn_fan_cleanup() when newly introduced property is set
(Since pwm_fan_disable() call in the shutdown() method has been changed to
pwm_fan_cleanup() call since commit b99152d4f04b ("hwmon: (pwm-fan) Switch
regulator dynamically"), pwm_fan_disable() no longer exists.)

Patch 2:
- document the new property according to yaml format conversion