diff mbox series

[7/8] iio: accel: sca3000: kernel-doc fixes. Missing - and wrong function names.

Message ID 20210314164655.408461-8-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series iio: kernel-doc fixups | expand

Commit Message

Jonathan Cameron March 14, 2021, 4:46 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

All extremely obvious so nothing to add to patch title.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/iio/accel/sca3000.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Alexandru Ardelean March 15, 2021, 7:58 a.m. UTC | #1
On Sun, Mar 14, 2021 at 6:54 PM Jonathan Cameron <jic23@kernel.org> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> All extremely obvious so nothing to add to patch title.
>

Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>

> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
>  drivers/iio/accel/sca3000.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c
> index 467b5fcb81db..cb753a43533c 100644
> --- a/drivers/iio/accel/sca3000.c
> +++ b/drivers/iio/accel/sca3000.c
> @@ -351,7 +351,7 @@ static int __sca3000_unlock_reg_lock(struct sca3000_state *st)
>  }
>
>  /**
> - * sca3000_write_ctrl_reg() write to a lock protect ctrl register
> + * sca3000_write_ctrl_reg() - write to a lock protect ctrl register
>   * @st: Driver specific device instance data.
>   * @sel: selects which registers we wish to write to
>   * @val: the value to be written
> @@ -389,7 +389,7 @@ static int sca3000_write_ctrl_reg(struct sca3000_state *st,
>  }
>
>  /**
> - * sca3000_read_ctrl_reg() read from lock protected control register.
> + * sca3000_read_ctrl_reg() - read from lock protected control register.
>   * @st: Driver specific device instance data.
>   * @ctrl_reg: Which ctrl register do we want to read.
>   *
> @@ -421,7 +421,7 @@ static int sca3000_read_ctrl_reg(struct sca3000_state *st,
>  }
>
>  /**
> - * sca3000_show_rev() - sysfs interface to read the chip revision number
> + * sca3000_print_rev() - sysfs interface to read the chip revision number
>   * @indio_dev: Device instance specific generic IIO data.
>   * Driver specific device instance data can be obtained via
>   * via iio_priv(indio_dev)
> @@ -902,7 +902,7 @@ static int sca3000_read_event_value(struct iio_dev *indio_dev,
>  }
>
>  /**
> - * sca3000_write_value() - control of threshold and period
> + * sca3000_write_event_value() - control of threshold and period
>   * @indio_dev: Device instance specific IIO information.
>   * @chan: Description of the channel for which the event is being
>   * configured.
> --
> 2.30.2
>
diff mbox series

Patch

diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c
index 467b5fcb81db..cb753a43533c 100644
--- a/drivers/iio/accel/sca3000.c
+++ b/drivers/iio/accel/sca3000.c
@@ -351,7 +351,7 @@  static int __sca3000_unlock_reg_lock(struct sca3000_state *st)
 }
 
 /**
- * sca3000_write_ctrl_reg() write to a lock protect ctrl register
+ * sca3000_write_ctrl_reg() - write to a lock protect ctrl register
  * @st: Driver specific device instance data.
  * @sel: selects which registers we wish to write to
  * @val: the value to be written
@@ -389,7 +389,7 @@  static int sca3000_write_ctrl_reg(struct sca3000_state *st,
 }
 
 /**
- * sca3000_read_ctrl_reg() read from lock protected control register.
+ * sca3000_read_ctrl_reg() - read from lock protected control register.
  * @st: Driver specific device instance data.
  * @ctrl_reg: Which ctrl register do we want to read.
  *
@@ -421,7 +421,7 @@  static int sca3000_read_ctrl_reg(struct sca3000_state *st,
 }
 
 /**
- * sca3000_show_rev() - sysfs interface to read the chip revision number
+ * sca3000_print_rev() - sysfs interface to read the chip revision number
  * @indio_dev: Device instance specific generic IIO data.
  * Driver specific device instance data can be obtained via
  * via iio_priv(indio_dev)
@@ -902,7 +902,7 @@  static int sca3000_read_event_value(struct iio_dev *indio_dev,
 }
 
 /**
- * sca3000_write_value() - control of threshold and period
+ * sca3000_write_event_value() - control of threshold and period
  * @indio_dev: Device instance specific IIO information.
  * @chan: Description of the channel for which the event is being
  * configured.