hwmon: (it87) Use is_visible for temperature sensors
authorGuenter Roeck <linux@roeck-us.net>
Sat, 30 Mar 2013 21:23:20 +0000 (14:23 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 19 Apr 2016 13:32:36 +0000 (06:32 -0700)
commit87533770be36ecea55b86fa377ba4232d720df23
tree2bbfc5789e6228a1bf540981f2291224e6e05cc9
parent52929715634ad36782bd7018ab0bf59a6619c393
hwmon: (it87) Use is_visible for temperature sensors

Simplify code and reduce object size by more than 200 bytes on x86_64.

Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c