From: Jesse Barnes Date: Wed, 7 Oct 2009 21:39:46 +0000 (-0700) Subject: ACPI button: don't try to use a non-existent lid device X-Git-Tag: v2.6.32-rc5~6^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c907b72db4dd4e8af6dccb6e0ac122d78627b8d;p=pandora-kernel.git ACPI button: don't try to use a non-existent lid device If a call comes in to check the lid state but there's no lid device present, we should return -ENODEV. Signed-off-by: Jesse Barnes Signed-off-by: Len Brown --- Reading git-diff-tree failed