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

staging:iio:adc:lpc32xx Move out of staging.

There are a few more little cleanups that could be done on this driver, but
I don't think any are sufficient to justify not moving it out of staging.

It's a very simple driver (presumably for a simple part) so not much that can
go wrong. I think it was only ever in staging because that's where IIO was
as a whole at the time and then we forgot about it!

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Roland Stigge <stigge@antcom.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

+13 -13
+12
drivers/iio/adc/Kconfig
··· 305 305 To compile this driver as a module, choose M here: the module will be 306 306 called lpc18xx_adc. 307 307 308 + config LPC32XX_ADC 309 + tristate "NXP LPC32XX ADC" 310 + depends on ARCH_LPC32XX || COMPILE_TEST 311 + depends on HAS_IOMEM 312 + help 313 + Say yes here to build support for the integrated ADC inside the 314 + LPC32XX SoC. Note that this feature uses the same hardware as the 315 + touchscreen driver, so you should either select only one of the two 316 + drivers (lpc32xx_adc or lpc32xx_ts) or, in the OpenFirmware case, 317 + activate only one via device tree selection. Provides direct access 318 + via sysfs. 319 + 308 320 config LTC2485 309 321 tristate "Linear Technology LTC2485 ADC driver" 310 322 depends on I2C
+1
drivers/iio/adc/Makefile
··· 30 30 obj-$(CONFIG_INA2XX_ADC) += ina2xx-adc.o 31 31 obj-$(CONFIG_LP8788_ADC) += lp8788_adc.o 32 32 obj-$(CONFIG_LPC18XX_ADC) += lpc18xx_adc.o 33 + obj-$(CONFIG_LPC32XX_ADC) += lpc32xx_adc.o 33 34 obj-$(CONFIG_LTC2485) += ltc2485.o 34 35 obj-$(CONFIG_MAX1027) += max1027.o 35 36 obj-$(CONFIG_MAX11100) += max11100.o
-12
drivers/staging/iio/adc/Kconfig
··· 80 80 To compile this driver as a module, choose M here: the 81 81 module will be called ad7280a 82 82 83 - config LPC32XX_ADC 84 - tristate "NXP LPC32XX ADC" 85 - depends on ARCH_LPC32XX || COMPILE_TEST 86 - depends on HAS_IOMEM 87 - help 88 - Say yes here to build support for the integrated ADC inside the 89 - LPC32XX SoC. Note that this feature uses the same hardware as the 90 - touchscreen driver, so you should either select only one of the two 91 - drivers (lpc32xx_adc or lpc32xx_ts) or, in the OpenFirmware case, 92 - activate only one via device tree selection. Provides direct access 93 - via sysfs. 94 - 95 83 endmenu
-1
drivers/staging/iio/adc/Makefile
··· 10 10 obj-$(CONFIG_AD7816) += ad7816.o 11 11 obj-$(CONFIG_AD7192) += ad7192.o 12 12 obj-$(CONFIG_AD7280) += ad7280a.o 13 - obj-$(CONFIG_LPC32XX_ADC) += lpc32xx_adc.o
drivers/staging/iio/adc/lpc32xx_adc.c drivers/iio/adc/lpc32xx_adc.c