[PATCH v5 07/18] thermal/hwmon: Do not set no_hwmon before calling thermal_add_hwmon_sysfs()

Heiko Stübner heiko at sntech.de
Fri Mar 3 07:48:38 PST 2023


Am Mittwoch, 1. März 2023, 21:14:35 CET schrieb Daniel Lezcano:
> The thermal->tzp->no_hwmon parameter is only used when calling
> thermal_zone_device_register().
> 
> Setting it to 'false' before calling thermal_add_hwmon_sysfs() has no
> effect.
> 
> Remove the call and again prevent the drivers to access the thermal
> internals.
> 
> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas at ragnatech.se> #R-Car
> Signed-off-by: Daniel Lezcano <daniel.lezcano at linaro.org>
> Acked-by: Florian Fainelli <f.fainelli at gmail.com> #Broadcom

Acked-by: Heiko Stuebner <heiko at sntech.de> #rockchip





More information about the linux-arm-kernel mailing list