summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/adc/Makefile
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-10-22 10:42:00 +0100
committerJonathan Cameron <jic23@kernel.org>2012-10-31 10:40:34 +0000
commit2b0c856ad9571013db8fc369194b7108dff3c18e (patch)
tree3eeb31b681966918b952c1ddb6993353f14179e4 /drivers/staging/iio/adc/Makefile
parente446f5a8540a845ed92fca4109e67c8f0c76031f (diff)
downloadlinux-2b0c856ad9571013db8fc369194b7108dff3c18e.tar.bz2
staging:iio: Consolidate adt7310 and adt7410 driver
The adt7310 is the SPI version of the adt7410, so there is no need to have a separate driver for it. The register map layout is a bit different, i.e. the addresses of the register differ, but the individual register layouts are identical. We solve this by adding a small look-up table, which translates adt7410 register addresses to ad7310 register addresses. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/adc/Makefile')
-rw-r--r--drivers/staging/iio/adc/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/Makefile b/drivers/staging/iio/adc/Makefile
index 62ee02e80cf9..ff561c591d66 100644
--- a/drivers/staging/iio/adc/Makefile
+++ b/drivers/staging/iio/adc/Makefile
@@ -30,7 +30,6 @@ obj-$(CONFIG_AD7780) += ad7780.o
obj-$(CONFIG_AD7793) += ad7793.o
obj-$(CONFIG_AD7816) += ad7816.o
obj-$(CONFIG_AD7192) += ad7192.o
-obj-$(CONFIG_ADT7310) += adt7310.o
obj-$(CONFIG_ADT7410) += adt7410.o
obj-$(CONFIG_AD7280) += ad7280a.o
obj-$(CONFIG_LPC32XX_ADC) += lpc32xx_adc.o