projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e86d35c
)
more mode_t whack-a-mole...
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 4 May 2013 18:46:28 +0000
(14:46 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 4 May 2013 18:46:28 +0000
(14:46 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/hwmon/abx500.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/abx500.c
b/drivers/hwmon/abx500.c
index b4ad87b31a37519aaa1636879ed832c94194cf98..eee1134274c8bb931d445322644e0f0fac73b757 100644
(file)
--- a/
drivers/hwmon/abx500.c
+++ b/
drivers/hwmon/abx500.c
@@
-260,7
+260,7
@@
static ssize_t show_max_alarm(struct device *dev,
return sprintf(buf, "%d\n", data->max_alarm[attr->index]);
}
-static mode_t abx500_attrs_visible(struct kobject *kobj,
+static
u
mode_t abx500_attrs_visible(struct kobject *kobj,
struct attribute *attr, int n)
{
struct device *dev = container_of(kobj, struct device, kobj);