1. 05 8月, 2014 1 次提交
  2. 30 1月, 2014 1 次提交
  3. 15 1月, 2014 1 次提交
  4. 12 12月, 2013 1 次提交
  5. 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
  6. 26 1月, 2013 1 次提交
  7. 29 11月, 2012 4 次提交
  8. 22 7月, 2012 1 次提交
  9. 19 3月, 2012 2 次提交
    • G
      hwmon: (sis5595) Fix checkpatch issues · 8fda79ec
      Guenter Roeck 提交于
      Fixed:
      ERROR: do not use assignment in if condition
      ERROR: space prohibited after that open parenthesis '('
      ERROR: space prohibited before that close parenthesis ')'
      ERROR: space required after that ',' (ctx:VxV)
      ERROR: spaces required around that '<' (ctx:VxV)
      ERROR: spaces required around that '==' (ctx:VxV)
      ERROR: trailing statements should be on next line
      ERROR: trailing whitespace
      ERROR: Macros with multiple statements should be enclosed in a do - while loop
      WARNING: line over 80 characters
      WARNING: please, no space before tabs
      WARNING: please, no spaces at the start of a line
      WARNING: simple_strtol is obsolete, use kstrtol instead
      WARNING: simple_strtoul is obsolete, use kstrtoul instead
      
      Modify multi-line comments to follow Documentation/CodingStyle.
      
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      8fda79ec
    • F
      hwmon: use DEFINE_PCI_DEVICE_TABLE · 600151b9
      Frans Meulenbroeks 提交于
      fix all checkpatch warnings about DEFINE_PCI_DEVICE_TABLE
      Signed-off-by: NFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
      Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
      600151b9
  10. 09 1月, 2011 1 次提交
  11. 11 1月, 2010 1 次提交
    • M
      hwmon: Make PCI device ids constant · 3dd3a156
      Márton Németh 提交于
      The id_table field of the struct pci_driver is constant in <linux/pci.h>
      so it is worth to make pci_device_id also constant.
      
      The semantic match that finds this kind of pattern is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r@
      identifier I1, I2, x;
      @@
      	struct I1 {
      	  ...
      	  const struct I2 *x;
      	  ...
      	};
      @s@
      identifier r.I1, y;
      identifier r.x, E;
      @@
      	struct I1 y = {
      	  .x = E,
      	};
      @c@
      identifier r.I2;
      identifier s.E;
      @@
      	const struct I2 E[] = ... ;
      @depends on !c@
      identifier r.I2;
      identifier s.E;
      @@
      +	const
      	struct I2 E[] = ...;
      // </smpl>
      Signed-off-by: NMárton Németh <nm127@freemail.hu>
      Cc: Julia Lawall <julia@diku.dk>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      3dd3a156
  12. 15 9月, 2009 1 次提交
  13. 07 1月, 2009 1 次提交
    • J
      hwmon: Check for ACPI resource conflicts · b9acb64a
      Jean Delvare 提交于
      Check for ACPI resource conflicts in hwmon drivers. I've included
      all Super-I/O and PCI drivers.
      
      I've voluntarily left out:
      * Vendor-specific drivers: if they conflicted on any system, this would
        pretty much mean that they conflict on all systems, and we would know
        by now.
      * Legacy ISA drivers (lm78 and w83781d): they only support chips found
        on old designs were ACPI either wasn't supported or didn't deal with
        thermal management.
      * Drivers accessing the I/O resources indirectly (e.g. through SMBus):
        the checks are already done where they belong, i.e. in the bus drivers.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Acked-by: NDavid Hubbard <david.c.hubbard@gmail.com>
      b9acb64a
  14. 08 11月, 2007 2 次提交
  15. 20 10月, 2007 1 次提交
  16. 15 10月, 2007 1 次提交
  17. 10 10月, 2007 2 次提交
  18. 31 7月, 2007 1 次提交
    • J
      hwmon: Add missing __devexit tags in various drivers · d0546128
      Jean Delvare 提交于
      On Sun, 22 Jul 2007 00:30:56 +0200, Gabriel C wrote:
      > I noticed this warnings on current git:
      >
      > drivers/hwmon/pc87360.c:1082: warning: 'pc87360_remove' defined but not used
      > drivers/hwmon/sis5595.c:580: warning: 'sis5595_remove' defined but not used
      > drivers/hwmon/smsc47m1.c:608: warning: 'smsc47m1_remove' defined but not used
      > drivers/hwmon/via686a.c:648: warning: 'via686a_remove' defined but not used
      > drivers/hwmon/vt8231.c:755: warning: 'vt8231_remove' defined but not used
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NMark M. Hoffman <mhoffman@lightlink.com>
      d0546128
  19. 20 7月, 2007 3 次提交
  20. 15 2月, 2007 1 次提交
  21. 29 9月, 2006 1 次提交
  22. 27 9月, 2006 1 次提交
  23. 27 6月, 2006 1 次提交
  24. 24 3月, 2006 2 次提交
  25. 06 1月, 2006 2 次提交
  26. 29 10月, 2005 1 次提交
  27. 10 9月, 2005 1 次提交
  28. 06 9月, 2005 3 次提交
    • J
      [PATCH] hwmon: hwmon vs i2c, second round (06/11) · f4b50261
      Jean Delvare 提交于
      The only thing left in i2c-sensor.h are module parameter definition
      macros. It's only an extension of what i2c.h offers, and this extension
      is not sensors-specific. As a matter of fact, a few non-sensors drivers
      use them. So we better merge them in i2c.h, and get rid of i2c-sensor.h
      altogether.
      Signed-off-by: NJean Delvare <khali@linux-fr>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      f4b50261
    • J
      [PATCH] I2C: refactor message in i2c_detach_client · 7bef5594
      Jean Delvare 提交于
      We could refactor the error message 34 different i2c drivers print if
      i2c_detach_client() fails in this function itself. Saves quite a few
      lines of code. Documentation is updated to reflect that change.
      
      Note that this patch should be applied after Rudolf Marek's w83792d
      patches.
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7bef5594
    • J
      [PATCH] I2C: Separate non-i2c hwmon drivers from i2c-core (5/9) · 2d8672c5
      Jean Delvare 提交于
      Call the ISA chip drivers detection function directly instead of relying
      on i2c_detect. The net effect is that address lists won't be handled
      anymore, but they were mostly useless in the ISA case anyway (pc87360,
      smsc47m1, smsc47b397 had already dropped them).
      
      We don't need to handle multiple devices, all we may need is a way to
      force a given address instead of the original one (some drivers already
      do: sis5595, via686a, w83627hf), and, for drivers supporting multiple
      chips, a way to force one given kind. All this may be added later on
      demand, but I actually don't think there will be much demand.
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      2d8672c5