diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-09-17 14:17:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-09-17 22:41:26 +0200 |
commit | 45f010baa0292c367168b1f62d5494965b905b5d (patch) | |
tree | f183f6a41a1c88d342778cadc174d1321aef9fc4 /drivers/iio/inkern.c | |
parent | iio:dac: Add ad5755 driver (diff) | |
download | linux-45f010baa0292c367168b1f62d5494965b905b5d.tar.xz linux-45f010baa0292c367168b1f62d5494965b905b5d.zip |
iio: consumer.h: Fix kernel doc incosistency
For the iio_read_channel_raw and iio_read_channel_scale the kerneldoc comment
refers to an argument called "channel", while the argument is called "chan" in
the function signature. This leads to the following warnings from kerneldoc:
Warning(include/linux/iio/consumer.h:71): No description found for parameter 'chan'
Warning(include/linux/iio/consumer.h:71): Excess function parameter 'channel' description in 'iio_read_channel_raw'
Warning(include/linux/iio/consumer.h:109): No description found for parameter 'chan'
Warning(include/linux/iio/consumer.h:109): Excess function parameter 'channel' description in 'iio_read_channel_scale'
This patch fixes the warnings by naming them consistently.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/inkern.c')
0 files changed, 0 insertions, 0 deletions