hwmon: (dell-smm) Cleanup init code
authorArmin Wolf <W_Armin@gmx.de>
Tue, 26 Apr 2022 21:31:53 +0000 (23:31 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 20 May 2022 17:57:05 +0000 (10:57 -0700)
commitf44aa665ee9647a204066b287c8fc8c604440425
tree90732c82de6be06dd629d384a2972ebe0cb359ae
parent4fc1a51c8572179abb767f56cbfc433e00e310c1
hwmon: (dell-smm) Cleanup init code

The default values for i8k_fan_mult and i8k_fan_max
should be assigend only if the values specified as
module params or in DMI are invalid/missing.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20220426213154.724708-3-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c