diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-03-30 23:47:21 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-04-19 15:32:36 +0200 |
commit | d376684880beb603a11fb6593489a21398d2a491 (patch) | |
tree | 74bea2b3d75db919d6aa75f0d92b9d856ea0c641 /fs/proc | |
parent | hwmon: (it87) Use is_visible for pwm attributes (diff) | |
download | linux-d376684880beb603a11fb6593489a21398d2a491.tar.xz linux-d376684880beb603a11fb6593489a21398d2a491.zip |
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 'fs/proc')
0 files changed, 0 insertions, 0 deletions