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. Jul 24, 2020
  4. May 24, 2019
  5. Apr 16, 2019
  6. Jan 02, 2017
  7. Dec 10, 2016
  8. Aug 06, 2014
  9. Aug 04, 2014
  10. Jan 29, 2014
  11. Jul 22, 2012
  12. Mar 19, 2012
    • Axel Lin's avatar
      hwmon: convert drivers/hwmon/* to use module_i2c_driver() · f0967eea
      Axel Lin authored
      
      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: default avatarAxel 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: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
      f0967eea
    • Guenter Roeck's avatar
      hwmon: (adm1025) Fix checkpatch issues · 2b22de51
      Guenter Roeck authored
      
      Fixed:
      ERROR: do not use assignment in if condition
      ERROR: space required after that ',' (ctx:VxV)
      ERROR: spaces required around that '<' (ctx:VxV)
      ERROR: spaces required around that '=' (ctx:VxV)
      ERROR: trailing whitespace
      WARNING: simple_strtol is obsolete, use kstrtol instead
      WARNING: simple_strtoul is obsolete, use kstrtoul instead
      
      Not fixed:
      ERROR: Macros with multiple statements should be enclosed in a do - while loop
      
      Acked-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      2b22de51
  13. Oct 18, 2010
  14. Dec 14, 2009
  15. Dec 09, 2009
  16. Jul 16, 2008
  17. Feb 19, 2008
  18. Feb 08, 2008
  19. Oct 10, 2007
  20. Sep 28, 2006
  21. Mar 23, 2006
  22. Jan 06, 2006
  23. Oct 28, 2005
  24. Sep 05, 2005
Loading