aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pwm-fan.c
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2020-12-22 18:11:10 +0000
committerDaniel Lezcano <[email protected]>2021-01-19 21:23:49 +0000
commitd0df264fbd3c531787dec59c4b3fca854bc7ee49 (patch)
treec62135fe2a445b3d220fbed2fb1b2485144d8696 /drivers/hwmon/pwm-fan.c
parentthermal/core: Remove ms based delay fields (diff)
downloadkernel-d0df264fbd3c531787dec59c4b3fca854bc7ee49.tar.gz
kernel-d0df264fbd3c531787dec59c4b3fca854bc7ee49.zip
thermal/core: Remove pointless thermal_zone_device_reset() function
The function thermal_zone_device_reset() is called in the thermal_zone_device_register() which allocates and initialize the structure. The passive field is already zero-ed by the allocation, the function is useless. Call directly thermal_zone_device_init() instead and thermal_zone_device_reset(). Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions