ideapad: rewrite the hw rfkill notify
authorIke Panhc <ike.pan@canonical.com>
Fri, 1 Oct 2010 07:39:49 +0000 (15:39 +0800)
committerMatthew Garrett <mjg@redhat.com>
Thu, 21 Oct 2010 13:36:50 +0000 (09:36 -0400)
commit2b7266bd49efc84f6642cf9bb7fb37d286345d15
tree024771a34a04b365ee6114b98104c73d43c866d9
parent26c81d5c9a88af404a5fef43caa259e8637fec94
ideapad: rewrite the hw rfkill notify

1. Read hw rfkill status by ec command
2. Not to touch sw status of each rfkill when hw rfkill notify
3. Initial rfkill status when module loaded

Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/ideapad_acpi.c