]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: Move the IIO client driver for hwmon out of staging
authorJonathan Cameron <jic23@kernel.org>
Wed, 20 Mar 2013 22:21:00 +0000 (22:21 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 23 Mar 2013 10:08:15 +0000 (10:08 +0000)
commit8df56a48febfbe6a5a5fa94c13e02ec4309be6d9
tree821e9f3f6b31f3fd7c73e26de9ab23c2e94dd896
parent7136c996cb2ffa7d8c62c3342fe72f2ad4e872f4
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(-)
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/iio_hwmon.c [new file with mode: 0644]
drivers/staging/iio/Kconfig
drivers/staging/iio/Makefile
drivers/staging/iio/iio_hwmon.c [deleted file]