eeepc-wmi: asus generic asus-wmi.ko module
authorCorentin Chary <corentincj@iksaif.net>
Sat, 26 Feb 2011 09:20:31 +0000 (10:20 +0100)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:07:20 +0000 (06:07 -0400)
commite12e6d94db24e9050821965aa75c95e8d2c65f10
tree9d747a02982309c27206720d2f6699db9e532dff
parent5b799d4fb787bb94f1068352220ab033ac7969f8
eeepc-wmi: asus generic asus-wmi.ko module

New Asus notebooks are using a WMI device similar to
the one used in Eee PCs. Since we don't want to load
eeepc-wmi module on Asus notebooks, and we want to
keep the eeepc-wmi module for backward compatibility,
this patch introduce a new module, named asus-wmi, that
will be used by eeepc-wmi and the new Asus Notebook WMI
Driver.

eeepc-wmi's input device strings (device name and phys)
are kept, but rfkill and led names are changed (s/eeepc/asus/).
This should not break anything since rfkill are used by type or
index, not by name, and the eeepc::touchpad led wasn't working
correctly before 2.6.39 anyway.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Documentation/ABI/testing/sysfs-platform-asus-wmi [new file with mode: 0644]
Documentation/ABI/testing/sysfs-platform-eeepc-wmi [deleted file]
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/asus-wmi.c
drivers/platform/x86/asus-wmi.h [new file with mode: 0644]
drivers/platform/x86/eeepc-wmi.c [new file with mode: 0644]