summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-07 02:21:48 +0200
committerMatthew Garrett <mjg@redhat.com>2010-08-03 15:49:05 +0200
commit9fab10cdf58099beff08d74f6b4a6633305c5754 (patch)
treeffa644369eec4f8a7c4aa0ca3d30286fa2106477 /drivers/acpi
parenteeepc-laptop: fix hotplug_disabled module_param permissions (diff)
downloadlinux-9fab10cdf58099beff08d74f6b4a6633305c5754.tar.xz
linux-9fab10cdf58099beff08d74f6b4a6633305c5754.zip
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')
0 files changed, 0 insertions, 0 deletions