thinkpad-acpi: fix error return for brightness write
commit3ee2b95a2eeeff150d206102c6754a1b76a1383a
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 4 Dec 2009 11:13:36 +0000 (4 09:13 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 4 Dec 2009 11:13:36 +0000 (4 09:13 -0200)
treed649a63b5aa5b577645fc73eb7368afec5ec1c92
parent1947f89536d324c801c42a2a80d1b8b32a5a774d
thinkpad-acpi: fix error return for brightness write

The returned error should be negative.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: stable@kernel.org
drivers/platform/x86/thinkpad_acpi.c