summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-16 15:59:05 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-20 10:02:50 +0200
commita73051fcb194e9500b20c4faffb84edbfcc43f63 (patch)
treec5b56739338e2405f4ce9879d7e96be25403edf4
parentiio: adc: ad7923: Demote obvious misuse of kerneldoc to standard comment blocks (diff)
downloadlinux-a73051fcb194e9500b20c4faffb84edbfcc43f63.tar.xz
linux-a73051fcb194e9500b20c4faffb84edbfcc43f63.zip
iio: dac: ad5360: 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/ad5360.c:89: warning: Function parameter or member 'lock' not described in 'ad5360_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>
-rw-r--r--drivers/iio/dac/ad5360.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5360.c b/drivers/iio/dac/ad5360.c
index f5d19d158d1c..602dd2ba61b5 100644
--- a/drivers/iio/dac/ad5360.c
+++ b/drivers/iio/dac/ad5360.c
@@ -67,7 +67,7 @@ struct ad5360_chip_info {
* @chip_info: chip model specific constants, available modes etc
* @vref_reg: vref supply regulators
* @ctrl: control register cache
- * @lock lock to protect the data buffer during SPI ops
+ * @lock: lock to protect the data buffer during SPI ops
* @data: spi transfer buffers
*/