eeepc-laptop: Use ACPI handle to identify rfkill port
authorMatthew Garrett <mjg@redhat.com>
Mon, 9 May 2011 14:44:01 +0000 (10:44 -0400)
committerMatthew Garrett <mjg@redhat.com>
Mon, 9 May 2011 14:48:47 +0000 (10:48 -0400)
commit14fdb152416c0fab80ecddf492c129d7da1bb8ef
tree360f8a21c47af38edaf05b778a7dba23481e6215
parent62d2f23e8bce3e7da4db53928e810fc8a474ce70
eeepc-laptop: Use ACPI handle to identify rfkill port

The ACPI notification we get from rfkill events on these machines gives
us all the information we need to identify the port that's changed. Do
so rather than assuming that it's always bus 1.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/eeepc-laptop.c