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: NJesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: NLen Brown <len.brown@intel.com>
Showing
想要评论请 注册 或 登录