diff mbox series

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

Message ID 20210113100517.10959-1-colin.king@canonical.com (mailing list archive)
State New, archived
Headers show
Series [next] media: i2c: fix spelling mistakes: "enpoint" -> "endpoint" | expand

Commit Message

Colin King Jan. 13, 2021, 10:05 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

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

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

Comments

Paul Kocialkowski Jan. 14, 2021, 8:49 a.m. UTC | #1
Hi,

On Wed 13 Jan 21, 10:05, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There are two spelling mistakes in dev_err messages. Fix these.

Thanks for the patch!

Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>

Cheers,

Paul

> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  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
>
diff mbox series

Patch

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;
 	}