summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-16 15:59:20 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-20 10:03:01 +0200
commitf165a54e11e97a299c19eb1aa5b1550a774cf44f (patch)
treec039ded5840e83c63cfecee4fe3f54f60ae23ab4 /drivers/iio/dac
parentiio: dac: ad5449: Fix kerneldoc attribute formatting for 'lock' (diff)
downloadlinux-f165a54e11e97a299c19eb1aa5b1550a774cf44f.tar.xz
linux-f165a54e11e97a299c19eb1aa5b1550a774cf44f.zip
iio: dac: ad5755: 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/ad5755.c:105: warning: Function parameter or member 'lock' not described in 'ad5755_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')
-rw-r--r--drivers/iio/dac/ad5755.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5755.c b/drivers/iio/dac/ad5755.c
index c8d9c698283d..0df28acf074a 100644
--- a/drivers/iio/dac/ad5755.c
+++ b/drivers/iio/dac/ad5755.c
@@ -82,7 +82,7 @@ struct ad5755_chip_info {
* @pwr_down: bitmask which contains hether a channel is powered down or not
* @ctrl: software shadow of the channel ctrl registers
* @channels: iio channel spec for the device
- * @lock lock to protect the data buffer during SPI ops
+ * @lock: lock to protect the data buffer during SPI ops
* @data: spi transfer buffers
*/
struct ad5755_state {