From: Axel Lin Date: Wed, 7 Jul 2010 00:21:48 +0000 (+0800) Subject: panasonic-laptop: fix acpi_pcc_write_sset return value X-Git-Tag: v2.6.36-rc1~579^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fab10cdf58099beff08d74f6b4a6633305c5754;p=pandora-kernel.git 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 Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed