mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 12:21:22 -05:00
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:
committed by
Jonathan Cameron
parent
fcd104f0ed
commit
5017dcb8fc
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user