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