fujitsu-laptop: Add BL power, LED control and radio state information
authorTony Vroon <tony@linx.net>
Wed, 31 Dec 2008 18:19:59 +0000 (18:19 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 9 Jan 2009 05:57:12 +0000 (00:57 -0500)
commit3a407086090bb4fa1908d4dc3739c9ebc8ad6686
treed810de1e34abe13f23784842c89a3289ffb57ce1
parent4a6908a3a050aacc9c3a2f36b276b46c0629ad91
fujitsu-laptop: Add BL power, LED control and radio state information

The FUNC interface in the Fujitsu-Siemens DSDT was unused until now. It exposes
state information that is now reported in additional platform files (whether the
radios are killed by the hardware switch or operational, whether the machine is
docked and whether the lid is open).
Support for the backlight class is now extended with the ability to power the
backlight on & off. Optional support for the LED class allows the keyboard
headlamps found on the U810 netbook and the Fujitsu logo illumination on the
P8010 notebook to be turned on & off.

This was fed through checkpatch.pl and tested on the S6420, P8010 & U810 platforms.

Signed-off-by: Stephen Gildea <stepheng+linux@gildea.com>
Tested-by: Stephen Gildea <stepheng+linux@gildea.com>
Tested-by: Julian Brown <jules@panic.cs-bristol.org.uk>
Signed-off-by: Tony Vroon <tony@linx.net>
Tested-by: Peter Gruber <nokos@gmx.net>
Acked-by: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/fujitsu-laptop.c