1. 30 Mar, 2009 2 commits
    • Jean Delvare's avatar
      hwmon: (ds1621) Clean up register access · 594592dc
      Jean Delvare authored
      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: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      594592dc
    • Jean Delvare's avatar
      hwmon: (ds1621) Reorder code statements · 9202add6
      Jean Delvare authored
      Reorder the ds1621 driver code so that we can get rid of forward
      function declarations.
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      9202add6
  2. 29 Mar, 2009 11 commits
  3. 28 Mar, 2009 27 commits