lkml.org 
[lkml]   [2023]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v5 1/6] iio: adc: meson: remove unused timestamp channel
    Date
    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>
    ---
    drivers/iio/adc/meson_saradc.c | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/drivers/iio/adc/meson_saradc.c b/drivers/iio/adc/meson_saradc.c
    index 18937a262af6..569ffc178935 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 {
    --
    2.38.4
    \
     
     \ /
      Last update: 2023-07-11 22:02    [W:4.251 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site