projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c926355
)
ACPI: ibm-acpi: do not use / in driver names
author
Henrique de Moraes Holschuh
<hmh@hmh.eng.br>
Fri, 24 Nov 2006 12:32:32 +0000
(10:32 -0200)
committer
Len Brown
<len.brown@intel.com>
Thu, 7 Dec 2006 06:38:31 +0000
(
01:38
-0500)
ibm-acpi uses sub-device names like ibm/hotkey, which get in the way of
a sysfs conversion. Fix it to use ibm_hotkey instead. Thanks to Zhang
Rui for noticing this.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
drivers/acpi/ibm_acpi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/ibm_acpi.c
b/drivers/acpi/ibm_acpi.c
index cd8722e4157ecb7d8032ab881555cf1059a4f8b6..ce69f7592a22c5756058d90bbed3bb5dcf16103b 100644
(file)
--- a/
drivers/acpi/ibm_acpi.c
+++ b/
drivers/acpi/ibm_acpi.c
@@
-1854,7
+1854,7
@@
static int __init register_driver(struct ibm_struct *ibm)
}
memset(ibm->driver, 0, sizeof(struct acpi_driver));
- sprintf(ibm->driver->name, "%s
/
%s", IBM_NAME, ibm->name);
+ sprintf(ibm->driver->name, "%s
_
%s", IBM_NAME, ibm->name);
ibm->driver->ids = ibm->hid;
ibm->driver->ops.add = &ibm_device_add;