Daniel Mack
b7670ed650
drivers/platform/x86/eeepc-wmi.c: fix build warning
...
drivers/platform/x86/eeepc-wmi.c: In function ‘eeepc_wmi_notify’:
drivers/platform/x86/eeepc-wmi.c:209: warning: ‘new’ may be used uninitialized in this function
drivers/platform/x86/eeepc-wmi.c:209: note: ‘new’ was declared here
Signed-off-by: Daniel Mack <daniel@caiaq.de >
Cc: Matthew Garrett <mjg@redhat.com >
Cc: Yong Wang <yong.y.wang@intel.com >
Cc: Corentin Chary <corentincj@iksaif.net >
Cc: Dmitry Torokhov <dtor@mail.ru >
Cc: Tejun Heo <tj@kernel.org >
Cc: platform-driver-x86@vger.kernel.org
Acked-By: Corentin Chary <corentincj@iksaif.net >
Signed-off-by: Matthew Garrett <mjg@redhat.com >
2010-05-20 09:46:24 -04:00
Yong Wang
3d7b165539
eeepc-wmi: add backlight support
...
Add backlight support for WMI based Eee PC laptops.
Signed-off-by: Yong Wang <yong.y.wang@intel.com >
Signed-off-by: Matthew Garrett <mjg@redhat.com >
Reviewed-by: Corentin Chary <corentincj@iksaif.net >
2010-04-12 13:02:52 -04:00
Yong Wang
45f2c6937e
eeepc-wmi: use a platform device as parent device of all sub-devices
...
Add a platform device and use it as the parent device of all sub-devices.
Signed-off-by: Yong Wang <yong.y.wang@intel.com >
Signed-off-by: Matthew Garrett <mjg@redhat.com >
Reviewed-by: Corentin Chary <corentincj@iksaif.net >
2010-04-12 13:02:43 -04:00
Yong Wang
8124888940
eeepc-wmi: add an eeepc_wmi context structure
...
Add an eeepc_wmi context structure to manage all the sub-devices
that will be implemented later on. Put input device into it first.
Signed-off-by: Yong Wang <yong.y.wang@intel.com >
Signed-off-by: Matthew Garrett <mjg@redhat.com >
Reviewed-by: Corentin Chary <corentincj@iksaif.net >
2010-04-12 13:02:21 -04:00
Tejun Heo
a32f392663
eeepc-wmi: include slab.h
...
eeepc-wmi uses kfree() but doesn't include slab.h. Include it.
Signed-off-by: Tejun Heo <tj@kernel.org >
Cc: Yong Wang <yong.y.wang@intel.com >
2010-04-05 11:37:59 +09:00
Yong Wang
ee027e4aed
eeepc-wmi: new driver for WMI based hotkeys on Eee PC laptops
...
Add a WMI driver for Eee PC laptops. Currently it only supports hotkeys.
Signed-off-by: Yong Wang <yong.y.wang@intel.com >
Signed-off-by: Matthew Garrett <mjg@redhat.com >
Acked-by: Dmitry Torokhov <dtor@mail.ru >
2010-03-31 17:19:07 -04:00