[PATCH][next] media: i2c: fix spelling mistakes: "enpoint" -> "endpoint"

From: Colin King
Date: Wed Jan 13 2021 - 05:07:08 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

There are two spelling mistakes in dev_err messages. Fix these.

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
drivers/media/i2c/ov5648.c | 2 +-
drivers/media/i2c/ov8865.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/i2c/ov5648.c b/drivers/media/i2c/ov5648.c
index 609aa67b54ce..46ad0a539853 100644
--- a/drivers/media/i2c/ov5648.c
+++ b/drivers/media/i2c/ov5648.c
@@ -2453,7 +2453,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 fda5a55979aa..fd5be8ef079c 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;
}

--
2.29.2