Jean Delvare 594592dc6f hwmon: (ds1621) Clean up register access
Fix a few oddities in how the ds1621 driver accesses the registers:
* We don't need a wrapper to access the configuration register.
* Check for error before calling swab16. Error checking isn't
  complete yet, but that's a start.
* Device-specific read functions should never be called during
  detection, as by definition we don't know what device we are talking
  to at that point.
* Likewise, don't assume that register reads succeed during detection.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Aurelien Jarno <aurelien@aurel32.net>
2009-03-30 21:46:40 +02:00
..
2009-03-28 20:29:51 +00:00
2009-03-21 19:06:51 -07:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-28 20:29:51 +00:00
2009-03-27 20:13:20 -04:00
2009-03-28 20:29:51 +00:00
2009-02-22 20:05:19 +01:00