iio: dac: ad5449: Fix kerneldoc attribute formatting for 'lock'
authorLee Jones <lee.jones@linaro.org>
Thu, 16 Jul 2020 13:59:19 +0000 (14:59 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 20 Jul 2020 08:03:01 +0000 (09:03 +0100)
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>
drivers/iio/dac/ad5449.c

index 447ba9f..f5e93c6 100644 (file)
@@ -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;