projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1021e21
)
asus-laptop: use generic netlink interface
author
Corentin Chary
<corentincj@iksaif.net>
Tue, 20 Jan 2009 15:17:42 +0000
(16:17 +0100)
committer
Len Brown
<len.brown@intel.com>
Tue, 20 Jan 2009 19:34:45 +0000
(14:34 -0500)
To be prepared for /proc/acpi/event removal we export events
also through generic netlink interface.
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/asus-laptop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/asus-laptop.c
b/drivers/platform/x86/asus-laptop.c
index 8fb8b35910482dc796841a410f01b47c7db8736d..1b7a28c1da73f368e7499df54263abba551eec6a 100644
(file)
--- a/
drivers/platform/x86/asus-laptop.c
+++ b/
drivers/platform/x86/asus-laptop.c
@@
-738,8
+738,9
@@
static void asus_hotk_notify(acpi_handle handle, u32 event, void *data)
lcd_blank(FB_BLANK_POWERDOWN);
}
- acpi_bus_generate_proc_event(hotk->device, event,
- hotk->event_count[event % 128]++);
+ acpi_bus_generate_netlink_event(hotk->device->pnp.device_class,
+ dev_name(&hotk->device->dev), event,
+ hotk->event_count[event % 128]++);
return;
}