iio: light: Fix spelling mistake "regist" -> "register"

There are spelling mistakes in dev_err messages. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://patch.msgid.link/20250228090228.679535-1-colin.i.king@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Colin Ian King
2025-02-28 09:02:28 +00:00
committed by Jonathan Cameron
parent fcd104f0ed
commit 5017dcb8fc
2 changed files with 2 additions and 2 deletions

View File

@@ -492,7 +492,7 @@ static int cm32181_probe(struct i2c_client *client)
ret = devm_iio_device_register(dev, indio_dev);
if (ret) {
dev_err(dev, "%s: regist device failed\n", __func__);
dev_err(dev, "%s: register device failed\n", __func__);
return ret;
}

View File

@@ -683,7 +683,7 @@ static int cm36651_probe(struct i2c_client *client)
ret = iio_device_register(indio_dev);
if (ret) {
dev_err(&client->dev, "%s: regist device failed\n", __func__);
dev_err(&client->dev, "%s: register device failed\n", __func__);
goto error_free_irq;
}