summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-01-13 11:05:17 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-02-06 08:36:42 +0100
commitea12d248b0966d80f478a08e6138c6cb9b3883aa (patch)
tree5a544b450666af45eab6fd85df50492e60f8e072 /drivers/media/i2c
parent063b811f34650bf88e24998eb9c094607cb3b53e (diff)
downloadlinux-ea12d248b0966d80f478a08e6138c6cb9b3883aa.tar.bz2
media: i2c: fix spelling mistakes: "enpoint" -> "endpoint"
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>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/ov5648.c2
-rw-r--r--drivers/media/i2c/ov8865.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/i2c/ov5648.c b/drivers/media/i2c/ov5648.c
index 110190b322e2..eab7839ea093 100644
--- a/drivers/media/i2c/ov5648.c
+++ b/drivers/media/i2c/ov5648.c
@@ -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;
}
diff --git a/drivers/media/i2c/ov8865.c b/drivers/media/i2c/ov8865.c
index b2099e38d0af..36a60fbc211d 100644
--- a/drivers/media/i2c/ov8865.c
+++ b/drivers/media/i2c/ov8865.c
@@ -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;
}