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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 14, 2021 at 6:54 PM Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
>
> From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
>
> All extremely obvious so nothing to add to patch title.
>

Reviewed-by: Alexandru Ardelean <ardeleanalex@xxxxxxxxx>

> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> ---
>  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
>



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux