ACPI button: don't try to use a non-existent lid device
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Oct 2009 21:39:46 +0000 (14:39 -0700)
committerLen Brown <len.brown@intel.com>
Tue, 13 Oct 2009 06:53:30 +0000 (02:53 -0400)
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 <jbarnes@virtuousgeek.org>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found