1. 25 5月, 2014 1 次提交
    • J
      hwmon: (ntc_thermistor) Fix dependencies · 59cf4243
      Jean Delvare 提交于
      In commit 9e8269de, support was added for ntc_thermistor devices being
      declared in the device tree and implemented on top of IIO. With that
      change, a dependency was added to the ntc_thermistor driver:
      
      	depends on (!OF && !IIO) || (OF && IIO)
      
      This construct has the drawback that the driver can no longer be
      selected when OF is set and IIO isn't, nor when IIO is set and OF is
      not. This is a regression for the original users of the driver.
      
      As the new code depends on IIO and is useless without OF, include it
      only if both are enabled, and set the dependencies accordingly. This
      is clearer, more simple and more correct.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Fixes: 9e8269de hwmon: (ntc_thermistor) Add DT with IIO support to NTC thermistor driver
      Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
      Cc: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
      Cc: Doug Anderson <dianders@chromium.org>
      59cf4243
  2. 09 4月, 2014 1 次提交
  3. 03 4月, 2014 1 次提交
  4. 24 3月, 2014 1 次提交
  5. 04 3月, 2014 6 次提交
  6. 03 2月, 2014 2 次提交
  7. 30 1月, 2014 1 次提交
  8. 19 11月, 2013 1 次提交
  9. 30 8月, 2013 1 次提交
  10. 27 8月, 2013 1 次提交
  11. 12 8月, 2013 1 次提交
  12. 28 6月, 2013 4 次提交
  13. 04 5月, 2013 1 次提交
  14. 21 4月, 2013 1 次提交
  15. 17 4月, 2013 1 次提交
  16. 08 4月, 2013 6 次提交
  17. 23 3月, 2013 1 次提交
    • J
      hwmon: Move the IIO client driver for hwmon out of staging · 51b53dc9
      Jonathan Cameron 提交于
      This driver uses channel maps, defined either through device tree
      or platform data, to create a hwmon driver which acts as a client
      for the underlying IIO device channels.  Thus a general purpose
      IIO adc driver can be used to provide hardware monitoring using a subset
      of its channels.
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      Acked-by: NGuenter Roeck <linux@roeck-us.net>
      
      --
       The only non move changes here concern the description and changes to the
       dependencies to IIO explicit and hwmon implicit.
      
       I'm proposing moving this into hwmon on the basis of placing drivers
       based on what they provide rather than what their underlying hardware
       is.
      
       drivers/hwmon/Kconfig           |   9 ++
       drivers/hwmon/Makefile          |   1 +
       drivers/hwmon/iio_hwmon.c       | 196 ++++++++++++++++++++++++++++++++++++++++
       drivers/staging/iio/Kconfig     |   8 --
       drivers/staging/iio/Makefile    |   2 -
       drivers/staging/iio/iio_hwmon.c | 196 ----------------------------------------
       6 files changed, 206 insertions(+), 206 deletions(-)
      51b53dc9
  18. 20 2月, 2013 1 次提交
  19. 07 2月, 2013 4 次提交
  20. 06 12月, 2012 3 次提交
  21. 17 10月, 2012 1 次提交