eeepc-wmi: never load if legacy device is enabled
authorCorentin Chary <corentincj@iksaif.net>
Mon, 29 Nov 2010 07:14:14 +0000 (08:14 +0100)
committerMatthew Garrett <mjg@redhat.com>
Fri, 7 Jan 2011 22:03:44 +0000 (17:03 -0500)
commitd358cb55a4cc83c37fbaebc0e4401a573777c6ac
treedea68be54d3005fcfab2ce45f7028e6eef8cb5ec
parent62a75d83131c8887237d26a36ffeabd53c3640fd
eeepc-wmi: never load if legacy device is enabled

If legacy device (SB.ATKD - ASUS010) used by eeepc-laptop
is enabled, don't allow eeepc-wmi to load because:
- eeepc-laptop may be loaded, and can conflict with
  eeepc-wmi (they both try to register eeepc::touchpad
  led for example).
- the WMI interface is inteded to be used when the OS is
  not detected as Win 7. And when this is the case, the
  ASUS010 device is disabled.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/eeepc-wmi.c