]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
hwmon: (nct6775) Declare and initialize LDN specific config variables earlier
authorGuenter Roeck <linux@roeck-us.net>
Tue, 18 Sep 2018 16:49:29 +0000 (09:49 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 11 Oct 2018 03:37:13 +0000 (20:37 -0700)
commit2d888c5f22b49bba174e0343f8e4ddfb374fa816
tree2f4695ab45adc026848ae2e3440546db2cb323c6
parent97ce6df46874331b46e279ae18bd07365e6cd586
hwmon: (nct6775) Declare and initialize LDN specific config variables earlier

Declare and initialize LDN / chip specific configuration variables
earlier. This simplifies re-using the configuration variables for
multiple chips and makes the code easier to read.

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