Message ID | 739D781F53669A17+ee9db6cf-dca4-4e53-9444-ecdf0b72dfbd@uniontech.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | None | expand |
On Sun, 22 Sep 2024 19:26:08 +0800 WangYuli <wangyuli@uniontech.com> wrote: > From 562a6ce3ebbeae03eabdd8fa5c265299ca59560b Mon Sep 17 00:00:00 2001 > From: WangYuli <wangyuli@uniontech.com> > Date: Sun, 22 Sep 2024 18:45:50 +0800 > Subject: [PATCH 2/3] iio: accel: adxl355: Correct the typo 'accelaration' > > There is a spelling mistake of 'accelaration' which should be > 'acceleration'. > > Signed-off-by: WangYuli <wangyuli@uniontech.com> Patch is fine, but the way it has been sent is not. We shouldn't be seeing the email header within the body of the patch. Jonathan > --- > 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 0c9225d18fb2..5e682bf079d8 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 0c9225d18fb2..5e682bf079d8 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