Commit 913c55a8 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Mauro Carvalho Chehab

media: ov2680: fix a typo in a function name

All functions in this file starts with 'ov2680_', except ov2860_parse_dt().

This is likely a typo.
rename it to 'ov2680_parse_dt()' (6 and 8)
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 050ff2ad
...@@ -1020,7 +1020,7 @@ static int ov2680_check_id(struct ov2680_dev *sensor) ...@@ -1020,7 +1020,7 @@ static int ov2680_check_id(struct ov2680_dev *sensor)
return 0; return 0;
} }
static int ov2860_parse_dt(struct ov2680_dev *sensor) static int ov2680_parse_dt(struct ov2680_dev *sensor)
{ {
struct device *dev = ov2680_to_dev(sensor); struct device *dev = ov2680_to_dev(sensor);
int ret; int ret;
...@@ -1061,7 +1061,7 @@ static int ov2680_probe(struct i2c_client *client) ...@@ -1061,7 +1061,7 @@ static int ov2680_probe(struct i2c_client *client)
sensor->i2c_client = client; sensor->i2c_client = client;
ret = ov2860_parse_dt(sensor); ret = ov2680_parse_dt(sensor);
if (ret < 0) if (ret < 0)
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment