Message ID | 20240726-iio-backend-spelling-continuous-v1-1-467c6e3f78ff@baylibre.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | iio: backend: spelling: continuous -> continuous | expand |
On Fri, 26 Jul 2024 15:18:40 -0500 David Lechner <dlechner@baylibre.com> wrote: > This fixes the spelling in IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE. > > Signed-off-by: David Lechner <dlechner@baylibre.com> Applied > --- > drivers/iio/dac/ad9739a.c | 2 +- > drivers/iio/dac/adi-axi-dac.c | 2 +- > include/linux/iio/backend.h | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/iio/dac/ad9739a.c b/drivers/iio/dac/ad9739a.c > index 9b1570e788b6..799387f21b9f 100644 > --- a/drivers/iio/dac/ad9739a.c > +++ b/drivers/iio/dac/ad9739a.c > @@ -145,7 +145,7 @@ static int ad9739a_buffer_postdisable(struct iio_dev *indio_dev) > struct ad9739a_state *st = iio_priv(indio_dev); > > return iio_backend_data_source_set(st->back, 0, > - IIO_BACKEND_INTERNAL_CONTINUOS_WAVE); > + IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE); > } > > static bool ad9739a_reg_accessible(struct device *dev, unsigned int reg) > diff --git a/drivers/iio/dac/adi-axi-dac.c b/drivers/iio/dac/adi-axi-dac.c > index 6d56428e623d..e44463f48bf5 100644 > --- a/drivers/iio/dac/adi-axi-dac.c > +++ b/drivers/iio/dac/adi-axi-dac.c > @@ -452,7 +452,7 @@ static int axi_dac_data_source_set(struct iio_backend *back, unsigned int chan, > struct axi_dac_state *st = iio_backend_get_priv(back); > > switch (data) { > - case IIO_BACKEND_INTERNAL_CONTINUOS_WAVE: > + case IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE: > return regmap_update_bits(st->regmap, > AXI_DAC_REG_CHAN_CNTRL_7(chan), > AXI_DAC_DATA_SEL, > diff --git a/include/linux/iio/backend.h b/include/linux/iio/backend.h > index 4e81931703ab..29c4cf0bd761 100644 > --- a/include/linux/iio/backend.h > +++ b/include/linux/iio/backend.h > @@ -17,7 +17,7 @@ enum iio_backend_data_type { > }; > > enum iio_backend_data_source { > - IIO_BACKEND_INTERNAL_CONTINUOS_WAVE, > + IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE, > IIO_BACKEND_EXTERNAL, > IIO_BACKEND_DATA_SOURCE_MAX > }; > > --- > base-commit: 472438c7e0e2261c6737a8321f46ef176eef1c8f > change-id: 20240726-iio-backend-spelling-continuous-d6801c838fd8
diff --git a/drivers/iio/dac/ad9739a.c b/drivers/iio/dac/ad9739a.c index 9b1570e788b6..799387f21b9f 100644 --- a/drivers/iio/dac/ad9739a.c +++ b/drivers/iio/dac/ad9739a.c @@ -145,7 +145,7 @@ static int ad9739a_buffer_postdisable(struct iio_dev *indio_dev) struct ad9739a_state *st = iio_priv(indio_dev); return iio_backend_data_source_set(st->back, 0, - IIO_BACKEND_INTERNAL_CONTINUOS_WAVE); + IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE); } static bool ad9739a_reg_accessible(struct device *dev, unsigned int reg) diff --git a/drivers/iio/dac/adi-axi-dac.c b/drivers/iio/dac/adi-axi-dac.c index 6d56428e623d..e44463f48bf5 100644 --- a/drivers/iio/dac/adi-axi-dac.c +++ b/drivers/iio/dac/adi-axi-dac.c @@ -452,7 +452,7 @@ static int axi_dac_data_source_set(struct iio_backend *back, unsigned int chan, struct axi_dac_state *st = iio_backend_get_priv(back); switch (data) { - case IIO_BACKEND_INTERNAL_CONTINUOS_WAVE: + case IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE: return regmap_update_bits(st->regmap, AXI_DAC_REG_CHAN_CNTRL_7(chan), AXI_DAC_DATA_SEL, diff --git a/include/linux/iio/backend.h b/include/linux/iio/backend.h index 4e81931703ab..29c4cf0bd761 100644 --- a/include/linux/iio/backend.h +++ b/include/linux/iio/backend.h @@ -17,7 +17,7 @@ enum iio_backend_data_type { }; enum iio_backend_data_source { - IIO_BACKEND_INTERNAL_CONTINUOS_WAVE, + IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE, IIO_BACKEND_EXTERNAL, IIO_BACKEND_DATA_SOURCE_MAX };
This fixes the spelling in IIO_BACKEND_INTERNAL_CONTINUOUS_WAVE. Signed-off-by: David Lechner <dlechner@baylibre.com> --- drivers/iio/dac/ad9739a.c | 2 +- drivers/iio/dac/adi-axi-dac.c | 2 +- include/linux/iio/backend.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- base-commit: 472438c7e0e2261c6737a8321f46ef176eef1c8f change-id: 20240726-iio-backend-spelling-continuous-d6801c838fd8