summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5421.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-16 14:59:09 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-20 09:02:54 +0100
commit140d55329ff9c4b20dd1572235bca328ce39dc2f (patch)
treed6aee39054a6805152f803cff198ab40e37af3a5 /drivers/iio/dac/ad5421.c
parentbc022cb75f3fea78d5ebac72750d574630aa2a2f (diff)
downloadlinux-stable-140d55329ff9c4b20dd1572235bca328ce39dc2f.tar.gz
linux-stable-140d55329ff9c4b20dd1572235bca328ce39dc2f.tar.bz2
linux-stable-140d55329ff9c4b20dd1572235bca328ce39dc2f.zip
iio: dac: ad5421: Fix kerneldoc attribute formatting for 'lock'
Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5421.c:82: warning: Function parameter or member 'lock' not described in 'ad5421_state' Cc: Michael Hennerich <Michael.Hennerich@analog.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac/ad5421.c')
-rw-r--r--drivers/iio/dac/ad5421.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5421.c b/drivers/iio/dac/ad5421.c
index 4158c810de9b..eedf661d32b2 100644
--- a/drivers/iio/dac/ad5421.c
+++ b/drivers/iio/dac/ad5421.c
@@ -62,7 +62,7 @@
* @current_range: current range which the device is configured for
* @data: spi transfer buffers
* @fault_mask: software masking of events
- * @lock lock to protect the data buffer during SPI ops
+ * @lock: lock to protect the data buffer during SPI ops
*/
struct ad5421_state {
struct spi_device *spi;