1. 15 11月, 2013 2 次提交
  2. 08 7月, 2013 1 次提交
  3. 26 1月, 2013 1 次提交
  4. 22 7月, 2012 1 次提交
  5. 23 3月, 2012 3 次提交
  6. 19 3月, 2012 1 次提交
    • A
      hwmon: convert drivers/hwmon/* to use module_i2c_driver() · f0967eea
      Axel Lin 提交于
      This patch converts the drivers in drivers/hwmon/* to use the
      module_i2c_driver() macro which makes the code smaller and a bit simpler.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Cc: Corentin Labbe <corentin.labbe@geomatys.fr>
      Cc: Dirk Eibach <eibach@gdsys.de>
      Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
      Cc: Steve Glendinning <steve.glendinning@smsc.com>
      Cc: Riku Voipio <riku.voipio@iki.fi>
      Cc: Guillaume Ligneul <guillaume.ligneul@gmail.com>
      Cc: David George <david.george@ska.ac.za>
      Cc: "Hans J. Koch" <hjk@hansjkoch.de>
      Cc: Marc Hulsman <m.hulsman@tudelft.nl>
      Cc: Rudolf Marek <r.marek@assembler.cz>
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      f0967eea
  7. 17 1月, 2012 1 次提交
  8. 06 1月, 2012 1 次提交
  9. 04 11月, 2011 2 次提交
    • J
      hwmon: (lm90) Make code more readable · b2589ab0
      Jean Delvare 提交于
      Clean up the code to make it more readable:
      * Remove reg_ and new_ prefixes from variable names, they made the
        names longer, causing extra line breaks, while not adding much
        value.
      * Introduce struct device dev* = &client->dev in two functions, to
        avoid repeating client->dev everywhere in these functions.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      b2589ab0
    • J
      hwmon: (lm90) Fix warnings · 8dc089d6
      Jean Delvare 提交于
      With some configuration option combinations, we get the following
      warnings:
      
      drivers/hwmon/lm90.c: In function 'lm90_detect':
      drivers/hwmon/lm90.c:1114: warning: 'chip_id' may be used uninitialized
      in this function
      drivers/hwmon/lm90.c:1114: warning: 'reg_config1' may be used
      uninitialized in this function
      drivers/hwmon/lm90.c:1114: warning: 'reg_convrate' may be used
      uninitialized in this function
      drivers/hwmon/lm90.c:1187: warning: 'reg_emerg2' may be used
      uninitialized in this function
      drivers/hwmon/lm90.c:1187: warning: 'reg_status2' may be used
      uninitialized in this function
      
      We can solve these easily by reading the register values first and
      checking for errors later. These errors should be very rare, even in
      the case of failed detection, so this change has no impact on
      performance. And this makes checkpatch.pl happier.
      Reported-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Acked-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      8dc089d6
  10. 29 7月, 2011 3 次提交
  11. 28 7月, 2011 1 次提交
  12. 29 4月, 2011 1 次提交
  13. 31 3月, 2011 1 次提交
  14. 29 10月, 2010 12 次提交
  15. 28 5月, 2010 1 次提交
  16. 06 3月, 2010 3 次提交
  17. 15 12月, 2009 3 次提交
  18. 10 12月, 2009 1 次提交
  19. 12 3月, 2009 1 次提交