iio: adc: meson: remove unused timestamp channel
authorGeorge Stark <gnstark@sberdevices.ru>
Fri, 14 Jul 2023 11:37:48 +0000 (14:37 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 20 Jul 2023 18:21:30 +0000 (19:21 +0100)
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>
drivers/iio/adc/meson_saradc.c

index af6bfcc190752e9b674a5294004dcd6a35b51dd0..51d511e88527c7d282d16d7a357c961282f9e619 100644 (file)
@@ -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 {