]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: light: Fix spelling mistake "regist" -> "register"
authorColin Ian King <colin.i.king@gmail.com>
Fri, 28 Feb 2025 09:02:28 +0000 (09:02 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 4 Mar 2025 14:50:52 +0000 (14:50 +0000)
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>
drivers/iio/light/cm32181.c
drivers/iio/light/cm36651.c

index aeae0566ec12a582dcce6f75401cd57195717f6c..bb90f738312a324912e399815a12e20c3fa1c4e6 100644 (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;
        }
 
index ae3fc3299eec6c30149bbfcb638d5c0001c30ed9..446dd54d5037c489ebfc21acca4c741278d39245 100644 (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;
        }