media: i2c: fix spelling mistakes: "enpoint" -> "endpoint"
authorColin Ian King <colin.king@canonical.com>
Wed, 13 Jan 2021 10:05:17 +0000 (11:05 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 6 Feb 2021 07:36:42 +0000 (08:36 +0100)
There are two spelling mistakes in dev_err messages. Fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov5648.c
drivers/media/i2c/ov8865.c

index 110190b322e249cdc27a01ebe6d94a30b028b739..eab7839ea093b5818be7db35ebc8495be5aae590 100644 (file)
@@ -2454,7 +2454,7 @@ static int ov5648_probe(struct i2c_client *client)
 
        handle = fwnode_graph_get_next_endpoint(dev_fwnode(dev), NULL);
        if (!handle) {
-               dev_err(dev, "unable to find enpoint node\n");
+               dev_err(dev, "unable to find endpoint node\n");
                return -EINVAL;
        }
 
index b2099e38d0af8ec88a8339ca48983d625b02ea59..36a60fbc211d72f7556f8fad2a00444ee311aab7 100644 (file)
@@ -2799,7 +2799,7 @@ static int ov8865_probe(struct i2c_client *client)
 
        handle = fwnode_graph_get_next_endpoint(dev_fwnode(dev), NULL);
        if (!handle) {
-               dev_err(dev, "unable to find enpoint node\n");
+               dev_err(dev, "unable to find endpoint node\n");
                return -EINVAL;
        }