Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86832
b: refs/heads/master
c: cee47f5
h: refs/heads/master
v: v3
  • Loading branch information
Henrique de Moraes Holschuh authored and Linus Torvalds committed Mar 5, 2008
1 parent 18488bc commit c440335
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: acc1f3ede977bf189b332874beeadf48c01544c5
refs/heads/master: cee47f5a32a1b5a1c8b148e738249946e3fedb95
3 changes: 2 additions & 1 deletion trunk/drivers/misc/thinkpad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,8 @@ static int hotkey_get_tablet_mode(int *status)
if (!acpi_evalf(hkey_handle, &s, "MHKG", "d"))
return -EIO;

return ((s & TP_HOTKEY_TABLET_MASK) != 0);
*status = ((s & TP_HOTKEY_TABLET_MASK) != 0);
return 0;
}

/*
Expand Down

0 comments on commit c440335

Please sign in to comment.