Commit 18cdaaa4 authored by Colin Ian King's avatar Colin Ian King Committed by Jonathan Cameron

iio: imu: Fix spelling mistake "accelrometer" -> "accelerometer"

There are two spelling mistakes in dev_err messages. Fix them.
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Reviewed-by: default avatarJagath Jog J <jagathjog1996@gmail.com>
Link: https://lore.kernel.org/r/20231023081054.617292-1-colin.i.king@gmail.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent b19ac45b
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment