diff mbox series

[8/8] iio: light: cm32181: Fix integartion time typo

Message ID 20200426110256.218186-8-hdegoede@redhat.com (mailing list archive)
State Deferred, archived
Headers show
Series [1/8] iio: light: cm32181: Add some extra register defines | expand

Commit Message

Hans de Goede April 26, 2020, 11:02 a.m. UTC
Fix integartion time typo and while at it improve the comment with
the typo a bit in general.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/iio/light/cm32181.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andy Shevchenko April 26, 2020, 5:51 p.m. UTC | #1
On Sun, Apr 26, 2020 at 2:03 PM Hans de Goede <hdegoede@redhat.com> wrote:
>
> Fix integartion time typo and while at it improve the comment with
> the typo a bit in general.
>

FWIW,
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>

(Applicable to all patches, after addressing corresponding comments)

> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
>  drivers/iio/light/cm32181.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/light/cm32181.c b/drivers/iio/light/cm32181.c
> index 878fc13632d8..50cfb7d189df 100644
> --- a/drivers/iio/light/cm32181.c
> +++ b/drivers/iio/light/cm32181.c
> @@ -237,7 +237,7 @@ static int cm32181_reg_init(struct cm32181_chip *cm32181)
>   *  @cm32181:  pointer of struct cm32181
>   *  @val2:     pointer of int to load the als_it value.
>   *
> - *  Report the current integartion time by millisecond.
> + *  Report the current integration time in milliseconds.
>   *
>   *  Return: IIO_VAL_INT_PLUS_MICRO for success, otherwise -EINVAL.
>   */
> --
> 2.26.0
>
diff mbox series

Patch

diff --git a/drivers/iio/light/cm32181.c b/drivers/iio/light/cm32181.c
index 878fc13632d8..50cfb7d189df 100644
--- a/drivers/iio/light/cm32181.c
+++ b/drivers/iio/light/cm32181.c
@@ -237,7 +237,7 @@  static int cm32181_reg_init(struct cm32181_chip *cm32181)
  *  @cm32181:	pointer of struct cm32181
  *  @val2:	pointer of int to load the als_it value.
  *
- *  Report the current integartion time by millisecond.
+ *  Report the current integration time in milliseconds.
  *
  *  Return: IIO_VAL_INT_PLUS_MICRO for success, otherwise -EINVAL.
  */