1. 07 8月, 2008 3 次提交
  2. 01 8月, 2008 2 次提交
    • D
      hwmon: (lm75) add new-style driver binding · 9ebd3d82
      David Brownell 提交于
      More LM75 updates:
      
       - Teach the LM75 driver to use new-style driver binding:
      
           * Create a second driver struct, using new-style driver binding
             methods cribbed from the legacy code.
      
           * Add a MODULE_DEVICE_TABLE (for "newER-style binding")
      
           * The legacy probe logic delegates its work to this new code.
      
           * The legacy driver now uses the name "lm75_legacy".
      
       - More careful initialization.  Chips are put into 9-bit mode so
         the current interconversion routines will never fail.
      
       - Save the original chip configuration, and restore it on exit.
         (Among other things, this normally turns off the mode where
         the chip is constantly sampling ... and thus saves power.)
      
      So the new-style code should catch all chips that boards declare,
      while the legacy code catches others.  This particular coexistence
      strategy may need some work yet ... legacy modes might best be set
      up explicitly by some tool not unlike "sensors-detect".  (Or else
      completely eradicated...)
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
      9ebd3d82
    • D
      hwmon: (lm75) cleanup/reorg · 01a52397
      David Brownell 提交于
      Minor cleanup and reorg of the lm75 code.
      
       - Kconfig provides a larger list of lm75-compatible chips
      
       - A top comment now says what the driver does (!) ... as in, just
         what sort of sensor is this??
      
       - Section comments now delineate the various sections of the driver:
         hwmon attributes, driver binding, register access, module glue.
         One driver binding function moved out of the attribute section,
         as did the driver struct itself.
      
       - Minor tweaks to legacy probe logic:  correct a comment, and
         remove a pointless variable.
      
       - Whitespace, linelength, and comment fixes.
      
      This patch should include no functional changes.  It's preparation
      for adding new-style (driver model) I2C driver binding.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NLaurent Pinchart <laurentp@cse-semaphore.com>
      Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
      01a52397
  3. 25 5月, 2008 1 次提交
  4. 20 3月, 2008 1 次提交
  5. 19 2月, 2008 1 次提交
  6. 08 2月, 2008 4 次提交
  7. 08 11月, 2007 1 次提交
  8. 13 10月, 2007 1 次提交
  9. 11 10月, 2007 2 次提交
  10. 10 10月, 2007 6 次提交
  11. 26 9月, 2007 2 次提交
  12. 31 7月, 2007 1 次提交
  13. 20 7月, 2007 13 次提交
  14. 28 5月, 2007 1 次提交
  15. 10 5月, 2007 1 次提交