hwmon: (emc6w201) Properly handle all errors
authorJean Delvare <khali@linux-fr.org>
Mon, 30 May 2011 01:23:04 +0000 (11:23 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 May 2011 01:23:04 +0000 (11:23 +1000)
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 <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>

No differences found