summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus/lm25066.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-03-18 14:40:16 +0100
committerGuenter Roeck <linux@roeck-us.net>2013-04-08 06:16:41 +0200
commit6bf44cedab5918bee8e8fea8c7ad187996c8c874 (patch)
tree4069175c9592340023f80e6834d8e2aa59b27f65 /drivers/hwmon/pmbus/lm25066.c
parenthwmon: (adt7310) Fix sparse warning (diff)
downloadlinux-6bf44cedab5918bee8e8fea8c7ad187996c8c874.tar.xz
linux-6bf44cedab5918bee8e8fea8c7ad187996c8c874.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions