projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee14b64
)
hwmon: (da9055) Don't use dash in the name attribute
author
Axel Lin
<axel.lin@ingics.com>
Wed, 9 Jul 2014 01:22:54 +0000
(09:22 +0800)
committer
Guenter Roeck
<linux@roeck-us.net>
Mon, 14 Jul 2014 17:42:12 +0000
(10:42 -0700)
Dashes are not allowed in hwmon name attributes.
Use "da9055" instead of "da9055-hwmon".
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/da9055-hwmon.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/da9055-hwmon.c
b/drivers/hwmon/da9055-hwmon.c
index 73b3865f1207ada0b74949dba3d5e4636086c21b..35eb7738d7119cf2d706d5cd60323b04e9e76988 100644
(file)
--- a/
drivers/hwmon/da9055-hwmon.c
+++ b/
drivers/hwmon/da9055-hwmon.c
@@
-204,7
+204,7
@@
static ssize_t da9055_hwmon_show_name(struct device *dev,
struct device_attribute *devattr,
char *buf)
{
- return sprintf(buf, "da9055
-hwmon
\n");
+ return sprintf(buf, "da9055\n");
}
static ssize_t show_label(struct device *dev,