]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (nct6775) Initialize boolean variables with declaration
authorGuenter Roeck <linux@roeck-us.net>
Wed, 21 Feb 2018 21:09:38 +0000 (13:09 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 11 Mar 2018 03:00:14 +0000 (19:00 -0800)
commite0e0c147981c4268eeacba14755d57f105fca7df
tree5f622efeb1ab3325a31b3762c9141c7dcdd708d9
parent546ad95917eb6590bbd10279b0c33f418a7aaaf2
hwmon: (nct6775) Initialize boolean variables with declaration

Initialize boolean flags in nct6775_check_fan_inputs() while
declaring them instead of several times throughout the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c