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