sony-laptop: report failures on setting LCD brightness
authorMattia Dongili <malattia@linux.it>
Tue, 5 Apr 2011 14:38:36 +0000 (23:38 +0900)
committerMatthew Garrett <mjg@redhat.com>
Mon, 9 May 2011 14:26:44 +0000 (10:26 -0400)
commit6192fa7109fb33591fa1078c8c1981e39da02d2d
treed7fb75fcf18338d55316170f05e59f1980e5b134
parent9fbdaeb4f4dd14a0caa9fc35c496d5440c251a3a
sony-laptop: report failures on setting LCD brightness

Check if we were successful in setting the requested brightness and
report failure in that case.

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