Skip to content

Commit

Permalink
media: i2c: fix spelling mistakes: "enpoint" -> "endpoint"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Ian King authored and Mauro Carvalho Chehab committed Feb 6, 2021
1 parent 063b811 commit ea12d24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/media/i2c/ov5648.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/media/i2c/ov8865.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ea12d24

Please sign in to comment.