From: Mattia Dongili Date: Sun, 12 Apr 2009 11:26:30 +0000 (+0000) Subject: sony-laptop: fix bogus error message display on resume X-Git-Tag: v2.6.30-rc4~50^2~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c35d4b3532ed3e2076fb14c25385cf6cef41cc69;p=pandora-kernel.git sony-laptop: fix bogus error message display on resume sony_backlight_update_status returns 0 on success -1 on failure (i.e.: the return value from acpi_callsetfunc. The return value in the resume path was broken and thus always displaying a bogus warning about not being able to restore the brightness level. Signed-off-by: Mattia Dongili Signed-off-by: Len Brown --- Reading git-diff-tree failed