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:
e6efad7
)
compal-laptop: correct invalid hwmon name
author
Roald Frederickx
<
[email protected]
>
Wed, 13 Aug 2014 20:40:14 +0000
(13:40 -0700)
committer
Matthew Garrett
<
[email protected]
>
Sat, 16 Aug 2014 08:23:55 +0000
(
01:23
-0700)
Change the name of the hwmon interface from "compal-laptop" to "compal".
A dash is an invalid character for a hwmon name and caused the call to
hwmon_device_register_with_groups() to fail.
Signed-off-by: Roald Frederickx <
[email protected]
>
Signed-off-by: Matthew Garrett <
[email protected]
>
drivers/platform/x86/compal-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/compal-laptop.c
b/drivers/platform/x86/compal-laptop.c
index 7297df2ebf503771d080a3467869819d72921b08..26bfd7bb5c1350822b23bb6814dd6784738d91b1 100644
(file)
--- a/
drivers/platform/x86/compal-laptop.c
+++ b/
drivers/platform/x86/compal-laptop.c
@@
-1028,7
+1028,7
@@
static int compal_probe(struct platform_device *pdev)
return err;
hwmon_dev = hwmon_device_register_with_groups(&pdev->dev,
-
DRIVER_NAME
, data,
+
"compal"
, data,
compal_hwmon_groups);
if (IS_ERR(hwmon_dev)) {
err = PTR_ERR(hwmon_dev);