Message ID | 20200716135928.1456727-25-lee.jones@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | First batch of W=1 fixes for IIO | expand |
On Thu, 16 Jul 2020 14:59:22 +0100 Lee Jones <lee.jones@linaro.org> wrote: > Kerneldoc expects attributes/parameters to be in '@*.: ' format. > > Fixes the following W=1 kernel build warning(s): > > drivers/iio/dac/ad5761.c:80: warning: Function parameter or member 'lock' not described in 'ad5761_state' > > Cc: Michael Hennerich <Michael.Hennerich@analog.com> > Cc: Liam Girdwood <lgirdwood@gmail.com> > Cc: Mark Brown <broonie@kernel.org> > Cc: Ricardo Ribalda <ribalda@kernel.org> > Signed-off-by: Lee Jones <lee.jones@linaro.org> Applied, Thanks, Jonathan > --- > drivers/iio/dac/ad5761.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/dac/ad5761.c b/drivers/iio/dac/ad5761.c > index 67c4fa75c6f13..1d9d0e22d6f44 100644 > --- a/drivers/iio/dac/ad5761.c > +++ b/drivers/iio/dac/ad5761.c > @@ -57,7 +57,7 @@ enum ad5761_supported_device_ids { > * @use_intref: true when the internal voltage reference is used > * @vref: actual voltage reference in mVolts > * @range: output range mode used > - * @lock lock to protect the data buffer during SPI ops > + * @lock: lock to protect the data buffer during SPI ops > * @data: cache aligned spi buffer > */ > struct ad5761_state {
diff --git a/drivers/iio/dac/ad5761.c b/drivers/iio/dac/ad5761.c index 67c4fa75c6f13..1d9d0e22d6f44 100644 --- a/drivers/iio/dac/ad5761.c +++ b/drivers/iio/dac/ad5761.c @@ -57,7 +57,7 @@ enum ad5761_supported_device_ids { * @use_intref: true when the internal voltage reference is used * @vref: actual voltage reference in mVolts * @range: output range mode used - * @lock lock to protect the data buffer during SPI ops + * @lock: lock to protect the data buffer during SPI ops * @data: cache aligned spi buffer */ struct ad5761_state {
Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5761.c:80: warning: Function parameter or member 'lock' not described in 'ad5761_state' Cc: Michael Hennerich <Michael.Hennerich@analog.com> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@kernel.org> Cc: Ricardo Ribalda <ribalda@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/iio/dac/ad5761.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)