1. 09 7月, 2016 1 次提交
    • G
      hwmon: (lm75) Convert to use regmap · e65365fe
      Guenter Roeck 提交于
      Convert to use regmap. Leave caching to regmap and drop the register
      update function. While this can result in additional read operations
      if the temperature register is read continuously, it avoids re-reading
      the limit registers and thus overall reduces complexity.
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      e65365fe
  2. 28 6月, 2016 4 次提交
  3. 19 4月, 2016 3 次提交
  4. 09 3月, 2016 1 次提交
  5. 05 3月, 2016 2 次提交
  6. 19 12月, 2015 2 次提交
  7. 17 11月, 2015 1 次提交
    • A
      hwmon: (scpi) add thermal-of dependency · d42d5b6f
      Arnd Bergmann 提交于
      The newly added scpi thermal support is broken when the scpi driver
      is built-in but the thermal driver is a loadable module:
      
      drivers/built-in.o: In function `scpi_hwmon_probe':
      (.text+0x444d70): undefined reference to `thermal_zone_of_sensor_unregister'
      (.text+0x444d94): undefined reference to `thermal_zone_of_sensor_register'
      drivers/built-in.o: In function `scpi_hwmon_remove':
      (text+0x444e6c): undefined reference to `thermal_zone_of_sensor_unregister'
      
      This uses the same Kconfig trick that we have in a couple of other
      drivers already to ensure we can only select the driver in valid
      configurations when either THERMAL_OF is disabled, or when with a
      dependency on CONFIG_THERMAL that can force SCPI to be a loadable
      module in the case I was hitting.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 68acc77a ("hwmon: Support thermal zones registration for SCP temperature sensors")
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      d42d5b6f
  8. 16 11月, 2015 1 次提交
  9. 14 10月, 2015 1 次提交
  10. 09 10月, 2015 1 次提交
  11. 13 9月, 2015 1 次提交
  12. 10 8月, 2015 1 次提交
  13. 22 6月, 2015 1 次提交
  14. 01 6月, 2015 2 次提交
  15. 25 5月, 2015 1 次提交
    • P
      hwmon: Allow to compile dell-smm-hwmon driver without /proc/i8k · 039ae585
      Pali Rohár 提交于
      This patch splits CONFIG_I8K compile option to SENSORS_DELL_SMM and CONFIG_I8K.
      Option SENSORS_DELL_SMM is now used to enable compilation of dell-smm-hwmon
      driver and old CONFIG_I8K option to enable /proc/i8k interface in driver.
      
      So this change allows to compile dell-smm-hwmon driver without legacy /proc/i8k
      interface which is needed only for old Dell Inspirion models or for userspace
      i8kutils package.
      
      For backward compatibility when CONFIG_I8K is enabled then also SENSORS_DELL_SMM
      is enabled and so driver dell-smm-hwmon (with /proc/i8k) is compiled.
      Signed-off-by: NPali Rohár <pali.rohar@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      039ae585
  16. 05 4月, 2015 2 次提交
  17. 11 3月, 2015 1 次提交
    • R
      hwmon: (gpio-fan) Fix build with CONFIG_THERMAL=m and SENSORS_GPIO_FAN=y · f6906ede
      Randy Dunlap 提交于
      Fix build error when CONFIG_THERMAL=m and SENSORS_GPIO_FAN=y
      by preventing that combination.
      
      Fixes these build errors:
      
      drivers/built-in.o: In function `gpio_fan_remove':
      gpio-fan.c:(.text+0x21e97e): undefined reference to `thermal_cooling_device_unregister'
      drivers/built-in.o: In function `gpio_fan_probe':
      gpio-fan.c:(.text+0x21efbc): undefined reference to `thermal_cooling_device_register'
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Cc:	Jean Delvare <jdelvare@suse.de>
      Cc:	Guenter Roeck <linux@roeck-us.net>
      Cc:	lm-sensors@lm-sensors.org
      Cc:	Simon Guinot <sguinot@lacie.com>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      f6906ede
  18. 10 3月, 2015 5 次提交
  19. 03 2月, 2015 1 次提交
  20. 26 1月, 2015 1 次提交
  21. 24 1月, 2015 1 次提交
  22. 07 1月, 2015 1 次提交
  23. 05 12月, 2014 1 次提交
  24. 02 12月, 2014 2 次提交
  25. 01 12月, 2014 2 次提交