hwmon: (nct7904) Use new HWMON_CHANNEL_INFO() macro
authorGuenter Roeck <linux@roeck-us.net>
Fri, 29 Mar 2019 20:26:40 +0000 (13:26 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commit4ec1d234a96659b881d9e2070978ec0a25668d44
tree001e5c11a7073776934a7c8201e8ef99c678b154
parent4cdb562147467b3530e86c7c51c3fbffe3067c09
hwmon: (nct7904) Use new HWMON_CHANNEL_INFO() macro

The new macro simplifies the code, reduces the likelihood of errors,
and makes the code easier to read.

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