From e3c4e4acf3e2cdc2eef00c2a317c3b4dfbc50f0b Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 9 Sep 2020 14:55:46 +0300 Subject: [PATCH] iio: adc: cf_axi_adc: remove unused TPL definitions Since they've been moved to include/linux/jesd204/adi-common.h, these will be duplicates/unused. Remove them. Signed-off-by: Alexandru Ardelean --- drivers/iio/adc/cf_axi_adc.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/iio/adc/cf_axi_adc.h b/drivers/iio/adc/cf_axi_adc.h index 147a96a7a45c94..2c0a41ba38b0ad 100644 --- a/drivers/iio/adc/cf_axi_adc.h +++ b/drivers/iio/adc/cf_axi_adc.h @@ -95,21 +95,6 @@ #define ADI_REG_CLOCKS_PER_PPS_STATUS 0x00C4 #define ADI_CLOCKS_PER_PPS_STAT_INVAL (1 << 0) -/* JESD TPL */ - -#define ADI_REG_TPL_CNTRL 0x0200 -#define ADI_REG_TPL_STATUS 0x0204 -#define ADI_REG_TPL_DESCRIPTOR_1 0x0240 -#define ADI_REG_TPL_DESCRIPTOR_2 0x0244 - -#define ADI_TO_JESD_M(x) (((x) >> 0) & 0xFF) -#define ADI_TO_JESD_L(x) (((x) >> 8) & 0xFF) -#define ADI_TO_JESD_S(x) (((x) >> 16) & 0xFF) -#define ADI_TO_JESD_F(x) (((x) >> 24) & 0xFF) - -#define ADI_TO_JESD_N(x) (((x) >> 0) & 0xFF) -#define ADI_TO_JESD_NP(x) (((x) >> 8) & 0xFF) - /* ADC CHANNEL */ #define ADI_REG_CHAN_CNTRL(c) (0x0400 + (c) * 0x40)