From: Frans Klaver Date: Wed, 22 Oct 2014 19:12:43 +0000 (+0200) Subject: eeepc-laptop: don't assume get_acpi succeeds X-Git-Tag: omap-for-v3.20/drop-legacy-3517~31^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efef87296eb6bf7b9a21b16f81a6ddd5ee33b513;p=pandora-kernel.git eeepc-laptop: don't assume get_acpi succeeds In eeepc_hotk_thaw, we assume that get_acpi() will effectively return a bool. However, it is possible that get_acpi() returns an error instead. We should not be writing error values to the ACPI device, even though it's quite possible that we couldn't contact the ACPI device in the first place. Signed-off-by: Frans Klaver Signed-off-by: Darren Hart --- Reading git-diff-tree failed