Commit b863ff94 authored by Jonathan Cameron's avatar Jonathan Cameron

iio: adc: ti-adc084s021: kernel-doc fixes, missing function names

The documentation in this driver was nearly kernel-doc and was marked
as such. Unfortunately the format was wrong and function names were
missing. This patch puts them in with minor edits to keep the resulting
line short.
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Cc: Gwendal Grignou <gwendal@chromium.org>
Cc: Mårten Lindahl <martenli@axis.com>
Link: https://lore.kernel.org/r/20210314164655.408461-3-jic23@kernel.org
parent 44f14695
...@@ -65,7 +65,7 @@ static const struct iio_chan_spec adc084s021_channels[] = { ...@@ -65,7 +65,7 @@ static const struct iio_chan_spec adc084s021_channels[] = {
}; };
/** /**
* Read an ADC channel and return its value. * adc084s021_adc_conversion() - Read an ADC channel and return its value.
* *
* @adc: The ADC SPI data. * @adc: The ADC SPI data.
* @data: Buffer for converted data. * @data: Buffer for converted data.
...@@ -136,7 +136,7 @@ static int adc084s021_read_raw(struct iio_dev *indio_dev, ...@@ -136,7 +136,7 @@ static int adc084s021_read_raw(struct iio_dev *indio_dev,
} }
/** /**
* Read enabled ADC channels and push data to the buffer. * adc084s021_buffer_trigger_handler() - Read ADC channels and push to buffer.
* *
* @irq: The interrupt number (not used). * @irq: The interrupt number (not used).
* @pollfunc: Pointer to the poll func. * @pollfunc: Pointer to the poll func.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment