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:
adb5783
)
hwmon: (gpio-fan) Change name used in hwmon_device_register_with_groups
author
Julien D'Ascenzio
<
[email protected]
>
Wed, 25 Jun 2014 20:00:31 +0000
(22:00 +0200)
committer
Guenter Roeck
<
[email protected]
>
Wed, 25 Jun 2014 22:16:09 +0000
(15:16 -0700)
Since commit
648cd48c9e566f53c5df30d79857e0937ae13b09
The hwmon name attributes must not include '-' so the name must be
rename from gpio-fan to gpio_fan
Signed-off-by: Julien D'Ascenzio <
[email protected]
>
Reviewed-by: Jean Delvare <
[email protected]
>
Signed-off-by: Guenter Roeck <
[email protected]
>
drivers/hwmon/gpio-fan.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/gpio-fan.c
b/drivers/hwmon/gpio-fan.c
index ba35e4d530b57c4e30ff898f4394e8d548cd6572..2566c43dd1e963ec0d43f4ccefc49ca16506a77b 100644
(file)
--- a/
drivers/hwmon/gpio-fan.c
+++ b/
drivers/hwmon/gpio-fan.c
@@
-538,7
+538,7
@@
static int gpio_fan_probe(struct platform_device *pdev)
/* Make this driver part of hwmon class. */
fan_data->hwmon_dev = hwmon_device_register_with_groups(&pdev->dev,
- "gpio
-
fan", fan_data,
+ "gpio
_
fan", fan_data,
gpio_fan_groups);
if (IS_ERR(fan_data->hwmon_dev))
return PTR_ERR(fan_data->hwmon_dev);