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

index 4158c81..eedf661 100644 (file)
@@ -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;