iio: adc: adi-axi-adc: fix typo in doc-string
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Fri, 19 Feb 2021 09:01:34 +0000 (11:01 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 11 Mar 2021 20:47:11 +0000 (20:47 +0000)
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>
Link: https://lore.kernel.org/r/20210219090134.48057-1-alexandru.ardelean@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/iio/adc/adi-axi-adc.h

index c5d48e1..52620e5 100644 (file)
@@ -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