diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-07-07 08:21:48 +0800 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-08-03 09:49:05 -0400 |
commit | 9fab10cdf58099beff08d74f6b4a6633305c5754 (patch) | |
tree | ffa644369eec4f8a7c4aa0ca3d30286fa2106477 /drivers/acpi/ec.c | |
parent | bfa47960f957c021a4d626b051668d2f66cadf23 (diff) | |
download | linux-9fab10cdf58099beff08d74f6b4a6633305c5754.tar.bz2 |
panasonic-laptop: fix acpi_pcc_write_sset return value
In current implementation, acpi_pcc_write_sset return 1
if write is successful, 0 if write is failed.
But all the callers consider acpi_pcc_write_sset return 0
if write is successful and return negtive if write is failed.
This patch changes the implementation of acpi_pcc_write_sset to
return 0 if write is successful, -EIO if write is failed.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/acpi/ec.c')
0 files changed, 0 insertions, 0 deletions