There are two spelling mistakes in dev_err messages. Fix them.
Signed-off-by: Colin Ian King <[email protected]>
---
drivers/iio/imu/bmi323/bmi323_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iio/imu/bmi323/bmi323_core.c b/drivers/iio/imu/bmi323/bmi323_core.c
index 0bd5dedd9a63..183af482828f 100644
--- a/drivers/iio/imu/bmi323/bmi323_core.c
+++ b/drivers/iio/imu/bmi323/bmi323_core.c
@@ -545,7 +545,7 @@ static int bmi323_tap_event_en(struct bmi323_data *data,
guard(mutex)(&data->mutex);
if (data->odrhz[BMI323_ACCEL] < 200) {
- dev_err(data->dev, "Invalid accelrometer parameter\n");
+ dev_err(data->dev, "Invalid accelerometer parameter\n");
return -EINVAL;
}
@@ -1453,7 +1453,7 @@ static int bmi323_enable_steps(struct bmi323_data *data, int val)
guard(mutex)(&data->mutex);
if (data->odrhz[BMI323_ACCEL] < 200) {
- dev_err(data->dev, "Invalid accelrometer parameter\n");
+ dev_err(data->dev, "Invalid accelerometer parameter\n");
return -EINVAL;
}
--
2.39.2
On Mon, Oct 23, 2023 at 1:40 PM Colin Ian King <[email protected]> wrote:
>
> There are two spelling mistakes in dev_err messages. Fix them.
Hi Colin,
Thanks for fixing this.
Reviewed-by: Jagath Jog J <[email protected]>
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/iio/imu/bmi323/bmi323_core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/iio/imu/bmi323/bmi323_core.c b/drivers/iio/imu/bmi323/bmi323_core.c
> index 0bd5dedd9a63..183af482828f 100644
> --- a/drivers/iio/imu/bmi323/bmi323_core.c
> +++ b/drivers/iio/imu/bmi323/bmi323_core.c
> @@ -545,7 +545,7 @@ static int bmi323_tap_event_en(struct bmi323_data *data,
> guard(mutex)(&data->mutex);
>
> if (data->odrhz[BMI323_ACCEL] < 200) {
> - dev_err(data->dev, "Invalid accelrometer parameter\n");
> + dev_err(data->dev, "Invalid accelerometer parameter\n");
> return -EINVAL;
> }
>
> @@ -1453,7 +1453,7 @@ static int bmi323_enable_steps(struct bmi323_data *data, int val)
>
> guard(mutex)(&data->mutex);
> if (data->odrhz[BMI323_ACCEL] < 200) {
> - dev_err(data->dev, "Invalid accelrometer parameter\n");
> + dev_err(data->dev, "Invalid accelerometer parameter\n");
> return -EINVAL;
> }
>
> --
> 2.39.2
>
On Mon, 23 Oct 2023 16:37:01 +0530
Jagath Jog J <[email protected]> wrote:
> On Mon, Oct 23, 2023 at 1:40 PM Colin Ian King <[email protected]> wrote:
> >
> > There are two spelling mistakes in dev_err messages. Fix them.
>
> Hi Colin,
>
> Thanks for fixing this.
> Reviewed-by: Jagath Jog J <[email protected]>
>
Applied. thanks,