diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-03-30 22:47:21 (GMT) |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-04-19 13:32:36 (GMT) |
commit | d376684880beb603a11fb6593489a21398d2a491 (patch) | |
tree | 74bea2b3d75db919d6aa75f0d92b9d856ea0c641 /drivers/hwmon/nct6683.c | |
parent | 5c3912616d37bcc292ae09a8be7f1a58d54f19f9 (diff) | |
download | linux-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