mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 10:59:18 -04:00
iio: imu: Fix spelling mistake "accelrometer" -> "accelerometer"
There are two spelling mistakes in dev_err messages. Fix them. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: Jagath Jog J <jagathjog1996@gmail.com> Link: https://lore.kernel.org/r/20231023081054.617292-1-colin.i.king@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Jonathan Cameron
parent
b19ac45bfe
commit
18cdaaa482
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user