[PATCH v6 3/3] hwmon: emc2305: Use devm_thermal_of_cooling_device_register

Guenter Roeck linux at roeck-us.net
Fri Mar 21 17:07:57 PDT 2025


On Fri, Mar 21, 2025 at 04:33:08PM +0200, florin.leotescu at oss.nxp.com wrote:
> From: Florin Leotescu <florin.leotescu at nxp.com>
> 
> Prepare the emc2305 driver to use configuration from Device Tree nodes.
> Switch to devm_thermal_of_cooling_device_register to simplify the
> cleanup procedure, allowing the removal of emc2305_unset_tz and
> emc2305_remove, which are no longer needed.
> 
> Signed-off-by: Florin Leotescu <florin.leotescu at nxp.com>
> Reviewed-by: Frank Li <Frank.Li at nxp.com>

Applied.

Thanks,
Guenter



More information about the linux-arm-kernel mailing list