Skip to contentSkip to conversation

media: i2c: fix spelling mistakes: "enpoint" -> "endpoint"

PATCH In review Colin King 2 participants 2 messages Jan 13, 2021 – Jan 14, 2021

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 media: i2c: fix spelling mistakes: "enpoint" -> "endpoint"

From: Colin Ian King <[email protected]>

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

---
 drivers/media/i2c/ov5648.c | 2 +-
 drivers/media/i2c/ov8865.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/media/i2c/ov5648.c +1 -1
index 609aa67b54ce..46ad0a539853 100644
@@ -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;
 	}
 
drivers/media/i2c/ov8865.c +1 -1
index fda5a55979aa..fd5be8ef079c 100644
@@ -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;
 	}
 
Signature · 1 line
2.29.2
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 3 lines · Colin King

From: Colin Ian King <[email protected]>

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

Thanks for the patch!

Cheers,

Paul

Quoted 35 lines
---
 drivers/media/i2c/ov5648.c | 2 +-
 drivers/media/i2c/ov8865.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/media/i2c/ov5648.c +1 -1
index 609aa67b54ce..46ad0a539853 100644
@@ -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;
 	}
 
drivers/media/i2c/ov8865.c +1 -1
index fda5a55979aa..fd5be8ef079c 100644
@@ -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;
 	}
 
Signature · 1 line
2.29.2
Signature · 3 lines
Paul Kocialkowski, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com