ACPI: EC: Check if boot_ec was really found in DSDT
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Fri, 31 Aug 2007 05:05:26 +0000 (09:05 +0400)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 31 Aug 2007 05:20:13 +0000 (22:20 -0700)
commit2d8348b429b4ae5cc47449c787881221fe43af4b
tree3d3fd11a86f03d7d0655e5c1906198d274c8ba97
parente70da5634835ecd8abb68d14cfc27384d01dd201
ACPI: EC: Check if boot_ec was really found in DSDT

acpi_get_devices() returns success if it did not find any device.
We have to check for this case.

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Tested-by: Daniel Ritz <daniel.ritz-ml@swissonline.ch>
Tested-by: Luca <kronos.it@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/ec.c