hwmon: (abituguru3) Fix I/O error handling
authorJean Delvare <khali@linux-fr.org>
Thu, 12 Mar 2009 12:36:38 +0000 (13:36 +0100)
committerJean Delvare <khali@linux-fr.org>
Thu, 12 Mar 2009 12:36:38 +0000 (13:36 +0100)
commit3bb9db79235e19dbb18ba6f4a428a97c69115319
treefdbd5f7157ff3c57c9981e118df00a3261a24f76
parentebdcc81c71937b30e09110c02a1e8a21fa770b6f
hwmon: (abituguru3) Fix I/O error handling

Fix a logic bug reported by Roel Kluin, by rewriting the error
handling code in a clearer way.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Alistair John Strachan <alistair@devzero.co.uk>
Acked-by: Hans de Goede <hdegoede@redhat.com>
drivers/hwmon/abituguru3.c