* [PATCH] iio: adc: adi-axi-adc: fix typo in doc-string
@ 2021-02-19 9:01 Alexandru Ardelean
2021-02-21 11:57 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Alexandru Ardelean @ 2021-02-19 9:01 UTC (permalink / raw)
To: linux-kernel, linux-iio
Cc: lars, Michael.Hennerich, jic23, nuno.sa, dragos.bogdan,
Alexandru Ardelean
The channels are of type iio_chan_spec, not axi_adc_chan_spec. They were in
some earlier version, but forgot to rename in the doc-string.
Fixes: ef04070692a21 ("iio: adc: adi-axi-adc: add support for AXI ADC IP core")
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
---
include/linux/iio/adc/adi-axi-adc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/iio/adc/adi-axi-adc.h b/include/linux/iio/adc/adi-axi-adc.h
index c5d48e1c2d36..52620e5b8052 100644
--- a/include/linux/iio/adc/adi-axi-adc.h
+++ b/include/linux/iio/adc/adi-axi-adc.h
@@ -15,7 +15,7 @@ struct iio_chan_spec;
* struct adi_axi_adc_chip_info - Chip specific information
* @name Chip name
* @id Chip ID (usually product ID)
- * @channels Channel specifications of type @struct axi_adc_chan_spec
+ * @channels Channel specifications of type @struct iio_chan_spec
* @num_channels Number of @channels
* @scale_table Supported scales by the chip; tuples of 2 ints
* @num_scales Number of scales in the table
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] iio: adc: adi-axi-adc: fix typo in doc-string
2021-02-19 9:01 [PATCH] iio: adc: adi-axi-adc: fix typo in doc-string Alexandru Ardelean
@ 2021-02-21 11:57 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2021-02-21 11:57 UTC (permalink / raw)
To: Alexandru Ardelean
Cc: linux-kernel, linux-iio, lars, Michael.Hennerich, nuno.sa,
dragos.bogdan
On Fri, 19 Feb 2021 11:01:34 +0200
Alexandru Ardelean <alexandru.ardelean@analog.com> wrote:
> The channels are of type iio_chan_spec, not axi_adc_chan_spec. They were in
> some earlier version, but forgot to rename in the doc-string.
>
> Fixes: ef04070692a21 ("iio: adc: adi-axi-adc: add support for AXI ADC IP core")
> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to probably ignore,.
Thanks,
Jonathan
> ---
> include/linux/iio/adc/adi-axi-adc.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/iio/adc/adi-axi-adc.h b/include/linux/iio/adc/adi-axi-adc.h
> index c5d48e1c2d36..52620e5b8052 100644
> --- a/include/linux/iio/adc/adi-axi-adc.h
> +++ b/include/linux/iio/adc/adi-axi-adc.h
> @@ -15,7 +15,7 @@ struct iio_chan_spec;
> * struct adi_axi_adc_chip_info - Chip specific information
> * @name Chip name
> * @id Chip ID (usually product ID)
> - * @channels Channel specifications of type @struct axi_adc_chan_spec
> + * @channels Channel specifications of type @struct iio_chan_spec
> * @num_channels Number of @channels
> * @scale_table Supported scales by the chip; tuples of 2 ints
> * @num_scales Number of scales in the table
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-21 11:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-19 9:01 [PATCH] iio: adc: adi-axi-adc: fix typo in doc-string Alexandru Ardelean
2021-02-21 11:57 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox