panasonic-laptop: fix acpi_pcc_write_sset return value
authorAxel Lin <axel.lin@gmail.com>
Wed, 7 Jul 2010 00:21:48 +0000 (08:21 +0800)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:49:05 +0000 (09:49 -0400)
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>

No differences found