diff options
author | Guenter Roeck <linux@roeck-us.net> | 2013-03-30 17:09:39 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-04-08 06:16:42 +0200 |
commit | c81cc5a4c14d8d7cc5c891ddf6cb8e7750a44dee (patch) | |
tree | 80193205375b90498e3a64bf69a2abe8ee709313 /Documentation/hwmon/nct6775 | |
parent | hwmon: (tmp401) Fix device detection for TMP411B and TMP411C (diff) | |
download | linux-c81cc5a4c14d8d7cc5c891ddf6cb8e7750a44dee.tar.xz linux-c81cc5a4c14d8d7cc5c891ddf6cb8e7750a44dee.zip |
hwmon: (gpio-fan) Use is_visible to determine if attributes should be created
Simplify code and reduce object size by more than 300 bytes (x86_64).
Cc: Jamie Lentin <jm@lentin.co.uk>
Cc: Simon Guinot <simon.guinot@sequanux.org>
Tested-by: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/nct6775')
0 files changed, 0 insertions, 0 deletions