[PATCH] iio: accel: adxl355: Fix typo "accelaration"

WangYuli posted 1 patch 1 month, 1 week ago
drivers/iio/accel/adxl355_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] iio: accel: adxl355: Fix typo "accelaration"
Posted by WangYuli 1 month, 1 week ago
There is a spelling mistake of 'accelaration' in comments which
should be 'acceleration'.

Signed-off-by: WangYuli <wangyuli@uniontech.com>
---
 drivers/iio/accel/adxl355_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/accel/adxl355_core.c b/drivers/iio/accel/adxl355_core.c
index eabaefa92f19..7ccd2f653b9b 100644
--- a/drivers/iio/accel/adxl355_core.c
+++ b/drivers/iio/accel/adxl355_core.c
@@ -643,7 +643,7 @@ static irqreturn_t adxl355_trigger_handler(int irq, void *p)
 	 * The acceleration data is 24 bits and big endian. It has to be saved
 	 * in 32 bits, hence, it is saved in the 2nd byte of the 4 byte buffer.
 	 * The buf array is 14 bytes as it includes 3x4=12 bytes for
-	 * accelaration data of x, y, and z axis. It also includes 2 bytes for
+	 * acceleration data of x, y, and z axis. It also includes 2 bytes for
 	 * temperature data.
 	 */
 	ret = regmap_bulk_read(data->regmap, ADXL355_XDATA3_REG,
-- 
2.45.2
Re: [PATCH] iio: accel: adxl355: Fix typo "accelaration"
Posted by Jonathan Cameron 1 month, 1 week ago
On Thu, 17 Oct 2024 17:22:21 +0800
WangYuli <wangyuli@uniontech.com> wrote:

> There is a spelling mistake of 'accelaration' in comments which
> should be 'acceleration'.
> 
> Signed-off-by: WangYuli <wangyuli@uniontech.com>
Applied.

Thanks,

J
> ---
>  drivers/iio/accel/adxl355_core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/accel/adxl355_core.c b/drivers/iio/accel/adxl355_core.c
> index eabaefa92f19..7ccd2f653b9b 100644
> --- a/drivers/iio/accel/adxl355_core.c
> +++ b/drivers/iio/accel/adxl355_core.c
> @@ -643,7 +643,7 @@ static irqreturn_t adxl355_trigger_handler(int irq, void *p)
>  	 * The acceleration data is 24 bits and big endian. It has to be saved
>  	 * in 32 bits, hence, it is saved in the 2nd byte of the 4 byte buffer.
>  	 * The buf array is 14 bytes as it includes 3x4=12 bytes for
> -	 * accelaration data of x, y, and z axis. It also includes 2 bytes for
> +	 * acceleration data of x, y, and z axis. It also includes 2 bytes for
>  	 * temperature data.
>  	 */
>  	ret = regmap_bulk_read(data->regmap, ADXL355_XDATA3_REG,