summaryrefslogtreecommitdiff
path: root/drivers/hwmon/nct6683.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-03-30 22:47:21 (GMT)
committerGuenter Roeck <linux@roeck-us.net>2016-04-19 13:32:36 (GMT)
commitd376684880beb603a11fb6593489a21398d2a491 (patch)
tree74bea2b3d75db919d6aa75f0d92b9d856ea0c641 /drivers/hwmon/nct6683.c
parent5c3912616d37bcc292ae09a8be7f1a58d54f19f9 (diff)
downloadlinux-d376684880beb603a11fb6593489a21398d2a491.tar.xz
hwmon: (it87) Use single group and is_visible for miscellaneous attributes
Use is_visible to determine if attributes should be generated or not. This simplifies the code and reduces object size by about 120 bytes on x86_64. Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/nct6683.c')
0 files changed, 0 insertions, 0 deletions