iio:cdc:ad7150: Move driver out of staging.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Mar 2021 18:15:11 +0000 (18:15 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 7 Apr 2021 07:36:37 +0000 (08:36 +0100)
commit646d67b5c582d69d3a73e89116a147abdbca28ed
tree26b8405b215d929899976d996c78284240d5b17e
parentd403719eeb664a80e806c63a11274a237359f5b0
iio:cdc:ad7150: Move driver out of staging.

This capacitance to digital converter (CDC) driver is compliant with
the IIO ABI.  Note, not all features supported (e.g. window event modes)
but the driver should be in a useful functional state.

The cleanup was done against QEMU emulation of the device rather than
actual hardware.   Whilst this was a bit of an experiment, it made it
easy to confirm that the driver remained in a consistent working state
through the various refactors.  If it worked in the first place, it
should still be working after this cleanup.

Given some IIO drivers require expensive hardware setups, (not particularly
true with this one) the use of QEMU may provide a viable way forward
for providing testing during code changes where previously we'd had
to rely on sharp eyes and crossed fingers.

Note, no explicit MAINTAINERS entry as it will be covered by the
generic catch-alls for ADI and IIO drivers which are sufficient.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20210314181511.531414-25-jic23@kernel.org
drivers/iio/Kconfig
drivers/iio/Makefile
drivers/iio/cdc/Kconfig [new file with mode: 0644]
drivers/iio/cdc/Makefile [new file with mode: 0644]
drivers/iio/cdc/ad7150.c [moved from drivers/staging/iio/cdc/ad7150.c with 100% similarity]
drivers/staging/iio/cdc/Kconfig
drivers/staging/iio/cdc/Makefile