From: Jean Delvare Date: Sun, 3 Jul 2011 11:32:53 +0000 (+0200) Subject: hwmon: (emc6w201) Properly handle all errors X-Git-Tag: v3.0-rc6~7^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6b2a1e8068684baf67307a994180976b7c443ed;p=pandora-kernel.git hwmon: (emc6w201) Properly handle all errors Handle errors on 8-bit register reads and writes too. Also use likely and unlikely to make the functions faster on success. Signed-off-by: Jean Delvare Acked-by: Guenter Roeck --- Reading git-diff-tree failed