Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio: adc: Relocate Capacitance to Digital Converters (CDC) into own subdir

No functional changes.
Fix Kconfig description.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Michael Hennerich and committed by
Greg Kroah-Hartman
5c48cb9d e63abd0a

+45 -27
+1
drivers/staging/iio/Kconfig
··· 59 59 source "drivers/staging/iio/accel/Kconfig" 60 60 source "drivers/staging/iio/adc/Kconfig" 61 61 source "drivers/staging/iio/addac/Kconfig" 62 + source "drivers/staging/iio/cdc/Kconfig" 62 63 source "drivers/staging/iio/dac/Kconfig" 63 64 source "drivers/staging/iio/dds/Kconfig" 64 65 source "drivers/staging/iio/gyro/Kconfig"
+1
drivers/staging/iio/Makefile
··· 20 20 obj-y += accel/ 21 21 obj-y += adc/ 22 22 obj-y += addac/ 23 + obj-y += cdc/ 23 24 obj-y += dac/ 24 25 obj-y += dds/ 25 26 obj-y += gyro/
-24
drivers/staging/iio/adc/Kconfig
··· 3 3 # 4 4 menu "Analog to digital converters" 5 5 6 - config AD7150 7 - tristate "Analog Devices ad7150/1/6 capacitive sensor driver" 8 - depends on I2C 9 - help 10 - Say yes here to build support for Analog Devices capacitive sensors. 11 - (ad7150, ad7151, ad7156) Provides direct access via sysfs. 12 - 13 - config AD7152 14 - tristate "Analog Devices ad7152/3 capacitive sensor driver" 15 - depends on I2C 16 - help 17 - Say yes here to build support for Analog Devices capacitive sensors. 18 - (ad7152, ad7153) Provides direct access via sysfs. 19 - 20 6 config AD7291 21 7 tristate "Analog Devices AD7291 ADC driver" 22 8 depends on I2C ··· 122 136 123 137 To compile this driver as a module, choose M here: the 124 138 module will be called AD7793. 125 - 126 - config AD7746 127 - tristate "Analog Devices AD7745, AD7746 AD7747 capacitive sensor driver" 128 - depends on I2C 129 - help 130 - Say yes here to build support for Analog Devices capacitive sensors. 131 - (AD7745, AD7746, AD7747) Provides direct access via sysfs. 132 - 133 - To compile this driver as a module, choose M here: the 134 - module will be called ad7745. 135 139 136 140 config AD7816 137 141 tristate "Analog Devices AD7816/7/8 temperature sensor and ADC driver"
-3
drivers/staging/iio/adc/Makefile
··· 29 29 ad7298-$(CONFIG_IIO_BUFFER) += ad7298_ring.o 30 30 obj-$(CONFIG_AD7298) += ad7298.o 31 31 32 - obj-$(CONFIG_AD7150) += ad7150.o 33 - obj-$(CONFIG_AD7152) += ad7152.o 34 32 obj-$(CONFIG_AD7291) += ad7291.o 35 - obj-$(CONFIG_AD7746) += ad7746.o 36 33 obj-$(CONFIG_AD7780) += ad7780.o 37 34 obj-$(CONFIG_AD7793) += ad7793.o 38 35 obj-$(CONFIG_AD7816) += ad7816.o
drivers/staging/iio/adc/ad7150.c drivers/staging/iio/cdc/ad7150.c
drivers/staging/iio/adc/ad7152.c drivers/staging/iio/cdc/ad7152.c
drivers/staging/iio/adc/ad7746.c drivers/staging/iio/cdc/ad7746.c
drivers/staging/iio/adc/ad7746.h drivers/staging/iio/cdc/ad7746.h
+36
drivers/staging/iio/cdc/Kconfig
··· 1 + # 2 + # CDC drivers 3 + # 4 + menu "Capacitance to digital converters" 5 + 6 + config AD7150 7 + tristate "Analog Devices ad7150/1/6 capacitive sensor driver" 8 + depends on I2C 9 + help 10 + Say yes here to build support for Analog Devices capacitive sensors. 11 + (ad7150, ad7151, ad7156) Provides direct access via sysfs. 12 + 13 + To compile this driver as a module, choose M here: the 14 + module will be called ad7150. 15 + 16 + config AD7152 17 + tristate "Analog Devices ad7152/3 capacitive sensor driver" 18 + depends on I2C 19 + help 20 + Say yes here to build support for Analog Devices capacitive sensors. 21 + (ad7152, ad7153) Provides direct access via sysfs. 22 + 23 + To compile this driver as a module, choose M here: the 24 + module will be called ad7152. 25 + 26 + config AD7746 27 + tristate "Analog Devices AD7745, AD7746 AD7747 capacitive sensor driver" 28 + depends on I2C 29 + help 30 + Say yes here to build support for Analog Devices capacitive sensors. 31 + (AD7745, AD7746, AD7747) Provides direct access via sysfs. 32 + 33 + To compile this driver as a module, choose M here: the 34 + module will be called ad7746. 35 + 36 + endmenu
+7
drivers/staging/iio/cdc/Makefile
··· 1 + # 2 + # Makefile for industrial I/O DAC drivers 3 + # 4 + 5 + obj-$(CONFIG_AD7150) += ad7150.o 6 + obj-$(CONFIG_AD7152) += ad7152.o 7 + obj-$(CONFIG_AD7746) += ad7746.o