commit | 6bf44cedab5918bee8e8fea8c7ad187996c8c874 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Mon Mar 18 06:40:16 2013 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Apr 07 21:16:41 2013 -0700 |
tree | 4069175c9592340023f80e6834d8e2aa59b27f65 | |
parent | 71bb2d211e47b9a04348149608629afc2742fee0 [diff] |
hwmon: (max6697) Use is_visible and sysfs_create_group Simplify the code and reduce its size by using is_visible to determine valid attributes, and sysfs_create_group to create all of them with a single call. Signed-off-by: Guenter Roeck <linux@roeck-us.net>