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:
52feaca
)
hwmon: (vexpress) Avoid creating non-existing attributes
author
Pawel Moll
<pawel.moll@arm.com>
Wed, 23 Apr 2014 17:27:05 +0000
(18:27 +0100)
committer
Guenter Roeck
<linux@roeck-us.net>
Thu, 24 Apr 2014 13:02:10 +0000
(06:02 -0700)
The 'label' attribute was always created but returned -ENOENT
if there is no label and such behaviour is undefined from
libsensors' point of view.
Fixed by providing is_visible method in the attributes group,
so the attribute is not created at all when unnecessary.
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/vexpress.c
patch
|
blob
|
history
diff --cc
drivers/hwmon/vexpress.c
Simple merge