]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb552c46c882451edc7accb7469af68983633391a
tree2bbfc5789e6228a1bf540981f2291224e6e05cc9
parent4dbe8b8766303e13064b769715ca9caccd03bac7
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