git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71bb2d2
)
hwmon: (max6697) Use is_visible and sysfs_create_group
author
Guenter Roeck
<linux@roeck-us.net>
Mon, 18 Mar 2013 13:40:16 +0000
(06:40 -0700)
committer
Guenter Roeck
<linux@roeck-us.net>
Mon, 8 Apr 2013 04:16:41 +0000
(21:16 -0700)
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>
drivers/hwmon/max6697.c
patch
|
blob
|
history
diff --cc
drivers/hwmon/max6697.c
Simple merge