media: ov2680: fix a typo in a function name
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 21 Jul 2019 19:04:23 +0000 (15:04 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 25 Jul 2019 10:44:39 +0000 (06:44 -0400)
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: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/ov2680.c

index 164f983c18147796a3dbff27e1e0f6e5a0fef17e..59cdbc33658ce69edd7b2cece66e9905730e8b97 100644 (file)
@@ -1020,7 +1020,7 @@ static int ov2680_check_id(struct ov2680_dev *sensor)
        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);
        int ret;
@@ -1061,7 +1061,7 @@ static int ov2680_probe(struct i2c_client *client)
 
        sensor->i2c_client = client;
 
-       ret = ov2860_parse_dt(sensor);
+       ret = ov2680_parse_dt(sensor);
        if (ret < 0)
                return -EINVAL;