Re: [PATCH v3 6/6] iio: common: fix spelling mistakes in comments
From: Andy Shevchenko
Date: Mon Mar 09 2026 - 07:45:33 EST
On Mon, Mar 09, 2026 at 04:15:13PM +0530, Shi Hao wrote:
> fix incorrect spelling in comments
You should follow English grammar and punctuation. In particular this sentence
is better as
Fix incorrect spelling in comments:
> - exepects -> expects
> - fuction -> function
> - theoritical -> theoretical
> - appopriate -> appropriate
...
> case MOTIONSENSE_TYPE_ACCEL:
> /*
> - * EC returns data in g, iio exepects m/s^2.
> + * EC returns data in g, iio expects m/s^2.
IIO
> * Do not use IIO_G_TO_M_S_2 to avoid precision loss.
> */
> *val = div_s64(val64 * 980665, 10);
--
With Best Regards,
Andy Shevchenko