aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-16 14:59:19 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-07-20 09:03:01 +0100
commit9cf23b6ba5adb56e62cd579858b3dc97a4ce9132 (patch)
treeb931b9ec248c5fe6613abeecc04f26939b2b0ee8 /drivers/iio/dac
parentiio: dac: ad5446: Complete 'struct ad5446_state' doc and demote unworthy kerneldocs (diff)
downloadlinux-dev-9cf23b6ba5adb56e62cd579858b3dc97a4ce9132.tar.xz
linux-dev-9cf23b6ba5adb56e62cd579858b3dc97a4ce9132.zip
iio: dac: ad5449: 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/ad5449.c:75: warning: Function parameter or member 'lock' not described in 'ad5449' 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/ad5449.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5449.c b/drivers/iio/dac/ad5449.c
index 447ba9f550d8..f5e93c6acc9d 100644
--- a/drivers/iio/dac/ad5449.c
+++ b/drivers/iio/dac/ad5449.c
@@ -56,7 +56,7 @@ struct ad5449_chip_info {
* @has_sdo: whether the SDO line is connected
* @dac_cache: Cache for the DAC values
* @data: spi transfer buffers
- * @lock lock to protect the data buffer during SPI ops
+ * @lock: lock to protect the data buffer during SPI ops
*/
struct ad5449 {
struct spi_device *spi;