Skip to content
Snippets Groups Projects
  1. Oct 12, 2021
  2. Sep 23, 2020
    • Stephen Kitt's avatar
      hwmon: use simple i2c probe function · 67487038
      Stephen Kitt authored
      
      Many hwmon drivers don't use the id information provided by the old
      i2c probe function, and the remainder can easily be adapted to the new
      form ("probe_new") by calling i2c_match_id explicitly.
      
      This avoids scanning the identifier tables during probes.
      
      Drivers which didn't use the id are converted as-is; drivers which did
      are modified as follows:
      
      * if the information in i2c_client is sufficient, that's used instead
        (client->name);
      * anything else is handled by calling i2c_match_id() with the same
        level of error-handling (if any) as before.
      
      A few drivers aren't included in this patch because they have a
      different set of maintainers. They will be covered by other patches.
      
      Signed-off-by: default avatarStephen Kitt <steve@sk2.org>
      Link: https://lore.kernel.org/r/20200813160222.1503401-1-steve@sk2.org
      
      
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      67487038
  3. May 24, 2019
  4. Apr 16, 2019
  5. Jan 02, 2017
  6. Oct 20, 2014
  7. Aug 04, 2014
  8. Jul 31, 2014
  9. Jan 29, 2014
  10. Dec 12, 2013
  11. Apr 08, 2013
    • Guenter Roeck's avatar
      hwmon: Fix checkpatch warning 'quoted string split across lines' · b55f3757
      Guenter Roeck authored
      
      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: default avatarGuenter Roeck <linux@roeck-us.net>
      b55f3757
  12. Jan 26, 2013
  13. Nov 28, 2012
  14. Jul 22, 2012
  15. Mar 19, 2012
    • Guenter Roeck's avatar
      hwmon: (lm78) Fix checkpatch issues · 9b03079f
      Guenter Roeck authored
      
      Fixed:
      ERROR: code indent should use tabs where possible
      ERROR: do not use assignment in if condition
      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
      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 multiple statements should be enclosed in a do - while loop
      
      Cc: Jean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Acked-by: default avatarJean Delvare <khali@linux-fr.org>
      9b03079f
  16. Jul 25, 2011
  17. Jan 12, 2011
  18. Feb 05, 2010
    • Jean Delvare's avatar
      hwmon: (lm78) Request I/O ports individually for probing · 197027e6
      Jean Delvare authored
      
      Different motherboards have different PNP declarations for LM78/LM79
      chips. Some declare the whole range of I/O ports (8 ports), some
      declare only the useful ports (2 ports at offset 5) and some declare
      fancy ranges, for example 4 ports at offset 4. To properly handle all
      cases, request all ports individually for probing. After we have
      determined that we really have an LM78 or LM79 chip, the useful port
      range will be requested again, as a single block.
      
      This fixes the driver on the Olivetti M3000 DT 540, at least.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Cc: stable@kernel.org
      197027e6
  19. Dec 14, 2009
  20. Dec 09, 2009
  21. Sep 15, 2009
  22. Jun 01, 2009
  23. Oct 17, 2008
  24. Feb 19, 2008
  25. Feb 08, 2008
  26. Oct 10, 2007
  27. Sep 09, 2007
  28. Jul 31, 2007
Loading