Message ID | 9F137828F9F185FD+20241017092221.361511-1-wangyuli@uniontech.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | iio: accel: adxl355: Fix typo "accelaration" | expand |
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,
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,
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(-)