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 30, 2019
    • Thomas Gleixner's avatar
      treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 · c942fddf
      Thomas Gleixner authored
      
      Based on 3 normalized pattern(s):
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version this program is distributed in the
        hope that it will be useful but without any warranty without even
        the implied warranty of merchantability or fitness for a particular
        purpose see the gnu general public license for more details
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version [author] [kishon] [vijay] [abraham]
        [i] [kishon]@[ti] [com] this program is distributed in the hope that
        it will be useful but without any warranty without even the implied
        warranty of merchantability or fitness for a particular purpose see
        the gnu general public license for more details
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version [author] [graeme] [gregory]
        [gg]@[slimlogic] [co] [uk] [author] [kishon] [vijay] [abraham] [i]
        [kishon]@[ti] [com] [based] [on] [twl6030]_[usb] [c] [author] [hema]
        [hk] [hemahk]@[ti] [com] this program is distributed in the hope
        that it will be useful but without any warranty without even the
        implied warranty of merchantability or fitness for a particular
        purpose see the gnu general public license for more details
      
      extracted by the scancode license scanner the SPDX license identifier
      
        GPL-2.0-or-later
      
      has been chosen to replace the boilerplate/reference in 1105 file(s).
      
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Reviewed-by: default avatarAllison Randal <allison@lohutok.net>
      Reviewed-by: default avatarRichard Fontana <rfontana@redhat.com>
      Reviewed-by: default avatarKate Stewart <kstewart@linuxfoundation.org>
      Cc: linux-spdx@vger.kernel.org
      Link: https://lkml.kernel.org/r/20190527070033.202006027@linutronix.de
      
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c942fddf
  4. Feb 18, 2019
  5. Jan 02, 2017
  6. May 21, 2014
  7. Apr 04, 2014
  8. Jan 29, 2014
  9. Jul 22, 2012
  10. Mar 19, 2012
  11. Dec 14, 2009
  12. Dec 09, 2009
  13. Jul 16, 2008
  14. Feb 19, 2008
  15. Feb 08, 2008
  16. Oct 10, 2007
  17. Jul 19, 2007
    • Jean Delvare's avatar
      hwmon: Fault files naming convention · 7817a39e
      Jean Delvare authored
      
      We have the following naming convention documented in
      Documentation/hwmon/sysfs-interface for fault files:
      
      in[0-*]_input_fault
      fan[1-*]_input_fault
      temp[1-*]_input_fault
      
      Some drivers follow this convention (lm63, lm83, lm90, smsc47m192).
      However some drivers omit the "input" part and create files named
      fan1_fault (pc87427) or temp1_fault (dme1737). And the new "generic"
      libsensors follows this second (non-standard) convention, so it fails
      to report fault conditions for drivers which follow the standard.
      
      We want a single naming scheme, and everyone seems to prefer the
      shorter variant, so let's go for it.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      7817a39e
  18. Sep 28, 2006
  19. Jun 22, 2006
  20. Mar 23, 2006
  21. Jan 06, 2006
  22. Oct 28, 2005
  23. Sep 05, 2005
  24. Jul 11, 2005
  25. Jun 22, 2005
Loading