diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2008-03-04 23:29:21 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-03-05 01:35:16 +0100 |
commit | cee47f5a32a1b5a1c8b148e738249946e3fedb95 (patch) | |
tree | 1776a535ca8a89dc91e2fbe664433d77b258929f /include/asm-cris | |
parent | fs/reiserfs/super.c: correct use of ! and & (diff) | |
download | linux-cee47f5a32a1b5a1c8b148e738249946e3fedb95.tar.xz linux-cee47f5a32a1b5a1c8b148e738249946e3fedb95.zip |
ACPI: thinkpad-acpi: fix hotkey_get_tablet_mode
I used the wrong return convention on hotkey_get_tablet_mode(), breaking a lot
of stuff. Bad Henrique!
Fix it to return the status in the parameter-by-reference, and IO status on
the function return value. Duh.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Zdenek Kabelac <zdenek.kabelac@gmail.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-cris')
0 files changed, 0 insertions, 0 deletions