dell-laptop: Do not cache hwswitch state
authorPali Rohár <pali.rohar@gmail.com>
Mon, 6 Jul 2015 10:08:57 +0000 (12:08 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Mon, 6 Jul 2015 22:35:23 +0000 (15:35 -0700)
commit22565ba0bf231eb4267b1d2ebad300d55b28a427
tree8b5f2cc6f967cd4eb9a760102242f82116d59a34
parent715d0cdd5a459908c2b2eb1cfa30d6f6d1d7d710
dell-laptop: Do not cache hwswitch state

The hwswitch state can be changed at runtime, so make sure dell-laptop
always knows the current state. It can be modified by the userspace
utility smbios-wireless-ctl.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/dell-laptop.c