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

iio: cdc: ad7746: Move driver out of staging.

All known major issues with this driver resolved so time to move
it out of staging. This also allows us to remove the now empty
staging/iio/cdc directory and build files.

Note this cleanup work was done using the roadtest framework.
https://lore.kernel.org/all/20220311162445.346685-1-vincent.whitchurch@axis.com/

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

+11 -25
+10
drivers/iio/cdc/Kconfig
··· 14 14 To compile this driver as a module, choose M here: the 15 15 module will be called ad7150. 16 16 17 + config AD7746 18 + tristate "Analog Devices AD7745, AD7746 AD7747 capacitive sensor driver" 19 + depends on I2C 20 + help 21 + Say yes here to build support for Analog Devices capacitive sensors. 22 + (AD7745, AD7746, AD7747) Provides direct access via sysfs. 23 + 24 + To compile this driver as a module, choose M here: the 25 + module will be called ad7746. 26 + 17 27 endmenu
+1
drivers/iio/cdc/Makefile
··· 4 4 # 5 5 6 6 obj-$(CONFIG_AD7150) += ad7150.o 7 + obj-$(CONFIG_AD7746) += ad7746.o
-1
drivers/staging/iio/Kconfig
··· 8 8 source "drivers/staging/iio/accel/Kconfig" 9 9 source "drivers/staging/iio/adc/Kconfig" 10 10 source "drivers/staging/iio/addac/Kconfig" 11 - source "drivers/staging/iio/cdc/Kconfig" 12 11 source "drivers/staging/iio/frequency/Kconfig" 13 12 source "drivers/staging/iio/impedance-analyzer/Kconfig" 14 13 source "drivers/staging/iio/meter/Kconfig"
-1
drivers/staging/iio/Makefile
··· 6 6 obj-y += accel/ 7 7 obj-y += adc/ 8 8 obj-y += addac/ 9 - obj-y += cdc/ 10 9 obj-y += frequency/ 11 10 obj-y += impedance-analyzer/ 12 11 obj-y += meter/
-17
drivers/staging/iio/cdc/Kconfig
··· 1 - # SPDX-License-Identifier: GPL-2.0 2 - # 3 - # CDC drivers 4 - # 5 - menu "Capacitance to digital converters" 6 - 7 - config AD7746 8 - tristate "Analog Devices AD7745, AD7746 AD7747 capacitive sensor driver" 9 - depends on I2C 10 - help 11 - Say yes here to build support for Analog Devices capacitive sensors. 12 - (AD7745, AD7746, AD7747) Provides direct access via sysfs. 13 - 14 - To compile this driver as a module, choose M here: the 15 - module will be called ad7746. 16 - 17 - endmenu
-6
drivers/staging/iio/cdc/Makefile
··· 1 - # SPDX-License-Identifier: GPL-2.0 2 - # 3 - # Makefile for industrial I/O CDC drivers 4 - # 5 - 6 - obj-$(CONFIG_AD7746) += ad7746.o
drivers/staging/iio/cdc/ad7746.c drivers/iio/cdc/ad7746.c