eeepc-wmi: use a platform device as parent device of all sub-devices
authorYong Wang <yong.y.wang@linux.intel.com>
Sun, 11 Apr 2010 01:27:19 +0000 (09:27 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 12 Apr 2010 17:02:43 +0000 (13:02 -0400)
commit45f2c6937ed6066c9a177c4d37f6bd76daa607c0
tree4d2b3cca640ea0ab46a24ed6e1321542b73365e0
parent8124888940be5d9d73a6e04970d73eaec7c582b7
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>
drivers/platform/x86/eeepc-wmi.c