]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
fujitu-laptop: fix tests of acpi_evaluate_integer() return value
authorJonathan Woithe <jwoithe@physics.adelaide.edu.au>
Tue, 22 Dec 2009 22:49:42 +0000 (09:19 +1030)
committerLen Brown <len.brown@intel.com>
Wed, 23 Dec 2009 07:24:32 +0000 (02:24 -0500)
commit3b1c37cab3765b87efbd4ed40301ceaf72b9f5c2
tree8d0c96819aa3c6b109ba6ccc2a40dfd2a9a1ffd0
parent4a28395d72a956f2dad24e343d06bc08c9afb89a
fujitu-laptop: fix tests of acpi_evaluate_integer() return value

Fix tests on return value from acpi_evaluate_integer().  Based on a patch by
Roel Kluin <roel.kluin@gmail.com> and incorporating suggestions from Len
Brown <lenb@kernel.org>.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/fujitsu-laptop.c