fujitsu-laptop: better handling of P8010 hotkey
authorJonathan Woithe <jwoithe@physics.adelaide.edu.au>
Thu, 9 Oct 2008 04:14:40 +0000 (13:44 +0930)
committerLen Brown <len.brown@intel.com>
Fri, 10 Oct 2008 20:25:49 +0000 (16:25 -0400)
commit0e6a66e9cf231140d2e49064d48162728edb7746
treea838717e4646157201d61c1f00e5109f0228265d
parent3fa8749e584b55f1180411ab1b51117190bac1e5
fujitsu-laptop: better handling of P8010 hotkey

This patch (mostly from Peter Gruber) improves the handling of the hotkeys
for P8010 laptops by passing more accurate input events back to userspace.
This is needed because the P8010 labels these buttons quite differently to
earlier laptops.  As part of this, a P8010-specific DMI callback check has
been implemented.  Finally there's some minor whitespace cleanups from
running the source through Lindent.

Signed-off-by: Peter Gruber <nokos@gmx.net>
Signed-off-by: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/fujitsu-laptop.c