1. 06 8月, 2014 1 次提交
  2. 04 8月, 2014 1 次提交
    • G
      hwmon: (w83791d) Fix smatch warning · 40ebdb92
      Guenter Roeck 提交于
      smatch complains as follows when checking w83791d.c.
      
      drivers/hwmon/w83791d.c:996 store_temp23() warn:
      	'32768' 32768 can't fit into 32767 'data->temp_add[nr][index]'
      
      Fix by using DIV_ROUND_CLOSEST and clamp_val to convert the values.
      While we are at it, modify other macros as well for consistency and
      to make the code easier to understand.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      40ebdb92
  3. 19 10月, 2013 1 次提交
  4. 08 4月, 2013 1 次提交
    • G
      hwmon: Fix checkpatch warning 'quoted string split across lines' · b55f3757
      Guenter Roeck 提交于
      Cc: Corentin Labbe <corentin.labbe@geomatys.fr>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: Juerg Haefliger <juergh@gmail.com>
      Cc: Andreas Herrmann <herrmann.der.user@googlemail.com>
      Cc: Rudolf Marek <r.marek@assembler.cz>
      Cc: Jim Cromie <jim.cromie@gmail.com>
      Cc: Roger Lucas <vt8231@hiddenengine.co.uk>
      Cc: Marc Hulsman <m.hulsman@tudelft.nl>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      b55f3757
  5. 26 1月, 2013 1 次提交
  6. 06 11月, 2012 1 次提交
  7. 10 10月, 2012 1 次提交
  8. 24 9月, 2012 1 次提交
  9. 22 7月, 2012 1 次提交
  10. 19 3月, 2012 2 次提交
    • G
      hwmon: (w83791d) Fix checkpatch issues · ec1c3194
      Guenter Roeck 提交于
      Fixed:
      ERROR: code indent should use tabs where possible
      ERROR: do not use assignment in if condition
      ERROR: space prohibited after that open parenthesis '('
      ERROR: space required after that ',' (ctx:VxV)
      WARNING: braces {} are not necessary for single statement blocks
      WARNING: simple_strtol is obsolete, use kstrtol instead
      WARNING: simple_strtoul is obsolete, use kstrtoul instead
      
      Modify multi-line comments to follow Documentation/CodingStyle.
      
      Not fixed (false positive):
      ERROR: Macros with complex values should be enclosed in parenthesis
      
      Cc: Charles Spirakis <bezaur@gmail.com>
      Cc: Marc Hulsman <m.hulsman@tudelft.nl>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      ec1c3194
    • 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
  11. 13 1月, 2012 1 次提交
  12. 06 1月, 2012 1 次提交
  13. 22 9月, 2011 1 次提交
  14. 31 3月, 2011 1 次提交
  15. 15 12月, 2009 3 次提交
  16. 10 12月, 2009 1 次提交
  17. 07 1月, 2009 1 次提交
  18. 17 10月, 2008 4 次提交
  19. 15 8月, 2008 1 次提交
  20. 07 8月, 2008 1 次提交
  21. 17 7月, 2008 1 次提交
  22. 19 2月, 2008 1 次提交
  23. 08 2月, 2008 1 次提交
  24. 19 10月, 2007 1 次提交
    • J
      Add missing newlines to some uses of dev_<level> messages · 898eb71c
      Joe Perches 提交于
      Found these while looking at printk uses.
      
      Add missing newlines to dev_<level> uses
      Add missing KERN_<level> prefixes to multiline dev_<level>s
      Fixed a wierd->weird spelling typo
      Added a newline to a printk
      Signed-off-by: NJoe Perches <joe@perches.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: Tilman Schmidt <tilman@imap.cc>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Stephen Hemminger <shemminger@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: James Smart <James.Smart@Emulex.Com>
      Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      898eb71c
  25. 10 10月, 2007 3 次提交
  26. 19 10月, 2006 1 次提交
  27. 04 10月, 2006 1 次提交
  28. 29 9月, 2006 1 次提交
    • C
      w83791d: Documentation update · 125751cb
      Charles Spirakis 提交于
      w83791d: Documentation update
      
      The alarm bits and the beep enable bits are in different positions in
      the hardware. Document the problem and leave it to the user-space code
      to handle the situation. When this driver is updated to the standardized
      sysfs alarm/beep methodology, this won't be a problem.
      
      This is a documentation only change.
      
      Signed-off by: Charles Spirakis <bezaur@gmail.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      125751cb
  29. 23 6月, 2006 1 次提交