diff options
author | Jonathan Cameron <jic23@kernel.org> | 2013-03-20 22:21:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-03-23 10:08:15 +0000 |
commit | 51b53dc991ae7eebc5d45b06d576da6486fbf823 (patch) | |
tree | 821e9f3f6b31f3fd7c73e26de9ab23c2e94dd896 /drivers/staging/iio/Kconfig | |
parent | 3465a22488a47d5f4791876a22fde2bb1720f4cf (diff) | |
download | linux-stable-51b53dc991ae7eebc5d45b06d576da6486fbf823.tar.gz linux-stable-51b53dc991ae7eebc5d45b06d576da6486fbf823.tar.bz2 linux-stable-51b53dc991ae7eebc5d45b06d576da6486fbf823.zip |
hwmon: Move the IIO client driver for hwmon out of staging
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: Jonathan Cameron <jic23@kernel.org>
Acked-by: Guenter 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(-)
Diffstat (limited to 'drivers/staging/iio/Kconfig')
-rw-r--r-- | drivers/staging/iio/Kconfig | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/iio/Kconfig b/drivers/staging/iio/Kconfig index dc267175a2b5..db4d6dc03243 100644 --- a/drivers/staging/iio/Kconfig +++ b/drivers/staging/iio/Kconfig @@ -4,14 +4,6 @@ menu "IIO staging drivers" depends on IIO -config IIO_ST_HWMON - tristate "Hwmon driver that uses channels specified via iio maps" - depends on HWMON - help - This is a platform driver that in combination with a suitable - map allows IIO devices to provide basic hwmon functionality - for those channels specified in the map. - source "drivers/staging/iio/accel/Kconfig" source "drivers/staging/iio/adc/Kconfig" source "drivers/staging/iio/addac/Kconfig" |