Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167613
b: refs/heads/master
c: 2c907b7
h: refs/heads/master
i:
  167611: 61c1e6f
v: v3
  • Loading branch information
Jesse Barnes authored and Len Brown committed Oct 13, 2009
1 parent 6a5b0c0 commit 0e0d8b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2906206350b7e13e2047467cc29a0a2d78d71cb2
refs/heads/master: 2c907b72db4dd4e8af6dccb6e0ac122d78627b8d
3 changes: 3 additions & 0 deletions trunk/drivers/acpi/button.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ int acpi_lid_open(void)
acpi_status status;
unsigned long long state;

if (!lid_device)
return -ENODEV;

status = acpi_evaluate_integer(lid_device->handle, "_LID", NULL,
&state);
if (ACPI_FAILURE(status))
Expand Down

0 comments on commit 0e0d8b1

Please sign in to comment.