aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Stark <gnstark@sberdevices.ru>2023-07-14 14:37:48 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-07-20 19:21:30 +0100
commit1a0dabd4dfea4a7b23dfa14d0f4578e1d5170a04 (patch)
treeeb75dfb9636a6176bbb597b86cff62cb6e6b5225
parent3f3caf5b2ea683cc2baf7ce27908f0faf896dac8 (diff)
downloadiio-1a0dabd4dfea4a7b23dfa14d0f4578e1d5170a04.tar.gz
iio: adc: meson: remove unused timestamp channel
Remove IIO_CHAN_SOFT_TIMESTAMP channel because it's used only for buffering mode which is not implemented. Signed-off-by: George Stark <GNStark@sberdevices.ru> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230714114010.293440-2-gnstark@sberdevices.ru Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/adc/meson_saradc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/adc/meson_saradc.c b/drivers/iio/adc/meson_saradc.c
index af6bfcc190752..51d511e88527c 100644
--- a/drivers/iio/adc/meson_saradc.c
+++ b/drivers/iio/adc/meson_saradc.c
@@ -211,7 +211,6 @@ static const struct iio_chan_spec meson_sar_adc_iio_channels[] = {
MESON_SAR_ADC_CHAN(5),
MESON_SAR_ADC_CHAN(6),
MESON_SAR_ADC_CHAN(7),
- IIO_CHAN_SOFT_TIMESTAMP(8),
};
static const struct iio_chan_spec meson_sar_adc_and_temp_iio_channels[] = {
@@ -224,7 +223,6 @@ static const struct iio_chan_spec meson_sar_adc_and_temp_iio_channels[] = {
MESON_SAR_ADC_CHAN(6),
MESON_SAR_ADC_CHAN(7),
MESON_SAR_ADC_TEMP_CHAN(8),
- IIO_CHAN_SOFT_TIMESTAMP(9),
};
enum meson_sar_adc_avg_mode {