hwmon: (nct6775) Move config variable declarations and initializations
authorGuenter Roeck <linux@roeck-us.net>
Tue, 18 Sep 2018 16:46:24 +0000 (09:46 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 11 Oct 2018 03:37:13 +0000 (20:37 -0700)
commit97ce6df46874331b46e279ae18bd07365e6cd586
treec5f2c0d9e3263088d9d0f0e9fa8676400c5784a9
parenta6c54f2cde3c80b7bc0d247fc9d161bad64b53a9
hwmon: (nct6775) Move config variable declarations and initializations

Group configuration variable declarations and initialization together.
While this results in reading more registers than necessary for a given
chip, it improves code readability and simplifies extending the code.

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