OSDN Git Service

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)
commit1b20624090d905fdf8e52f058020e585249c1af9
tree5f622efeb1ab3325a31b3762c9141c7dcdd708d9
parent00fd4cfe5bf86cb26ce8623408d2945da92dffcd
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