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>
This commit is contained in:
Colin Ian King 2021-01-13 11:05:17 +01:00 committed by Mauro Carvalho Chehab
parent 063b811f34
commit ea12d248b0
2 changed files with 2 additions and 2 deletions

View file

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

View file

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