summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/at91-sama5d2_adc.c
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2021-09-01 15:30:06 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-09-14 14:00:33 +0300
commit841a5b651815aba221cc003b0457dfc201a8a0c1 (patch)
tree1aee82ba7082bbed4b45eee3a9a4b4aaf30b1da9 /drivers/iio/adc/at91-sama5d2_adc.c
parenteaefa151f48a3305cf73cbc02890eb63cdb48b16 (diff)
downloadlinux-841a5b651815aba221cc003b0457dfc201a8a0c1.tar.xz
iio: adc: at91-sama5d2_adc: remove unused definition
Remove unused register definition Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Link: https://lore.kernel.org/r/20210901123013.329792-4-eugen.hristev@microchip.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/at91-sama5d2_adc.c')
-rw-r--r--drivers/iio/adc/at91-sama5d2_adc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/adc/at91-sama5d2_adc.c b/drivers/iio/adc/at91-sama5d2_adc.c
index 1f4d461c2c18..9d71dcffcf93 100644
--- a/drivers/iio/adc/at91-sama5d2_adc.c
+++ b/drivers/iio/adc/at91-sama5d2_adc.c
@@ -143,8 +143,6 @@
#define AT91_SAMA5D2_COR 0x4c
#define AT91_SAMA5D2_COR_DIFF_OFFSET 16
-/* Channel Data Register 0 */
-#define AT91_SAMA5D2_CDR0 0x50
/* Analog Control Register */
#define AT91_SAMA5D2_ACR 0x94
/* Analog Control Register - Pen detect sensitivity mask */