diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2023-10-23 09:10:54 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-11-16 19:10:28 +0000 |
commit | 18cdaaa482121aef942585cfbb02b1a9058e553d (patch) | |
tree | 6380d222050779d7d7112a0958d71bcb18ba1be6 /drivers/iio/imu | |
parent | b19ac45bfe503c399fe8e16a20dddeb1f4870997 (diff) |
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>
Diffstat (limited to 'drivers/iio/imu')
-rw-r--r-- | drivers/iio/imu/bmi323/bmi323_core.c | 4 |
1 files 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; } |