]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fujitsu-laptop: Simplify SBLL/SBL2 backlight handling
authorTony Vroon <tony@linx.net>
Wed, 7 Jan 2009 10:11:24 +0000 (10:11 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 9 Jan 2009 06:04:25 +0000 (01:04 -0500)
commitf87a1a5f6cdaff6232fed2ef0ae0479df9e781e8
treeca32cd6c78803a218c56a439f9726b86d7c3ce7f
parent3a407086090bb4fa1908d4dc3739c9ebc8ad6686
fujitsu-laptop: Simplify SBLL/SBL2 backlight handling

GBLS and GBLL only differ in the clearing of the GHKS flag, so there is no need
to have two backlight level readouts. Also, per Peter Gruber, the need for the
BLNF check has disappeared.
As a result, cleanups can be made in the code. This has been tested on the both
the S6410 and the S6420 platforms and causes no functionality regressions, on
the console without X or within X. One module parameter to disable the hotkeys
is dropped, as we only ever took one codepath anyway.

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