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

iio: resolver: ad2s1210: move out of staging

This moves the ad2s1210 resolver driver out of staging. The driver has
been fixed up and is ready to graduate.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20231010-ad2s1210-mainline-v5-4-35a0f6ffa04a@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

David Lechner and committed by
Jonathan Cameron
291e45ee 169dc2ad

+14 -27
+13
drivers/iio/resolver/Kconfig
··· 25 25 26 26 To compile this driver as a module, choose M here: the 27 27 module will be called ad2s1200. 28 + 29 + config AD2S1210 30 + tristate "Analog Devices ad2s1210 driver" 31 + depends on SPI 32 + depends on COMMON_CLK 33 + depends on GPIOLIB || COMPILE_TEST 34 + help 35 + Say yes here to build support for Analog Devices spi resolver 36 + to digital converters, ad2s1210, provides direct access via sysfs. 37 + 38 + To compile this driver as a module, choose M here: the 39 + module will be called ad2s1210. 40 + 28 41 endmenu
+1
drivers/iio/resolver/Makefile
··· 5 5 6 6 obj-$(CONFIG_AD2S90) += ad2s90.o 7 7 obj-$(CONFIG_AD2S1200) += ad2s1200.o 8 + obj-$(CONFIG_AD2S1210) += ad2s1210.o
drivers/staging/iio/Documentation/sysfs-bus-iio-resolver-ad2s1210 Documentation/ABI/testing/sysfs-bus-iio-resolver-ad2s1210
-1
drivers/staging/iio/Kconfig
··· 10 10 source "drivers/staging/iio/addac/Kconfig" 11 11 source "drivers/staging/iio/frequency/Kconfig" 12 12 source "drivers/staging/iio/impedance-analyzer/Kconfig" 13 - source "drivers/staging/iio/resolver/Kconfig" 14 13 15 14 endmenu
-1
drivers/staging/iio/Makefile
··· 8 8 obj-y += addac/ 9 9 obj-y += frequency/ 10 10 obj-y += impedance-analyzer/ 11 - obj-y += resolver/
-19
drivers/staging/iio/resolver/Kconfig
··· 1 - # SPDX-License-Identifier: GPL-2.0 2 - # 3 - # Resolver/Synchro drivers 4 - # 5 - menu "Resolver to digital converters" 6 - 7 - config AD2S1210 8 - tristate "Analog Devices ad2s1210 driver" 9 - depends on SPI 10 - depends on COMMON_CLK 11 - depends on GPIOLIB || COMPILE_TEST 12 - help 13 - Say yes here to build support for Analog Devices spi resolver 14 - to digital converters, ad2s1210, provides direct access via sysfs. 15 - 16 - To compile this driver as a module, choose M here: the 17 - module will be called ad2s1210. 18 - 19 - endmenu
-6
drivers/staging/iio/resolver/Makefile
··· 1 - # SPDX-License-Identifier: GPL-2.0 2 - # 3 - # Makefile for Resolver/Synchro drivers 4 - # 5 - 6 - obj-$(CONFIG_AD2S1210) += ad2s1210.o
drivers/staging/iio/resolver/ad2s1210.c drivers/iio/resolver/ad2s1210.c