sony-laptop: keyboard backlight fixes
authorMarco Chiappero <marco@absence.it>
Tue, 5 Apr 2011 14:38:34 +0000 (23:38 +0900)
committerMatthew Garrett <mjg@redhat.com>
Tue, 12 Apr 2011 15:27:44 +0000 (11:27 -0400)
Restore the original state on module removal, set the latest values on
resume.
When setting the keyboard backlight mode try to turn on/off backlight
immediately.

[malattia@linux.it: patch taken from a largely modified sony-laptop.c,
ported and slightly modified to use defines already available.]

Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/sony-laptop.c

Simple merge