diff options
author | Daniel Lezcano <[email protected]> | 2023-03-01 21:14:35 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-03-03 20:45:02 +0100 |
commit | 8f3f4ad4ad45e2e30c814de42629ef4c9688e92c (patch) | |
tree | 71c1e688d9c928123ca30cec5aca4dd90fd5348e /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | abda7383ec3a2efc0417d3265b7a872e74fe47e7 (diff) |
thermal/hwmon: Do not set no_hwmon before calling thermal_add_hwmon_sysfs()
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 <[email protected]> #R-Car
Signed-off-by: Daniel Lezcano <[email protected]>
Acked-by: Florian Fainelli <[email protected]> #Broadcom
Acked-by: Heiko Stuebner <[email protected]> #rockchip
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions