diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-07-03 15:32:53 +0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-07-03 15:32:53 +0400 |
commit | b6b2a1e8068684baf67307a994180976b7c443ed (patch) | |
tree | f25003224131eec9637a137587182b6ba3e0903f /drivers/hwmon/f71882fg.c | |
parent | b0af8dfdd67699e25083478c63eedef2e72ebd85 (diff) | |
download | linux-b6b2a1e8068684baf67307a994180976b7c443ed.tar.xz |
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 <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/f71882fg.c')
0 files changed, 0 insertions, 0 deletions