From patchwork Sun Jul 21 19:04:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 57616 X-Patchwork-Delegate: sakari.ailus@iki.fi Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpH8z-0000Iv-Ko; Sun, 21 Jul 2019 19:05:13 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727448AbfGUTEx (ORCPT + 1 other); Sun, 21 Jul 2019 15:04:53 -0400 Received: from smtp10.smtpout.orange.fr ([80.12.242.132]:36972 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727421AbfGUTEx (ORCPT ); Sun, 21 Jul 2019 15:04:53 -0400 Received: from localhost.localdomain ([92.140.204.221]) by mwinf5d45 with ME id fX4n2000F4n7eLC03X4oXd; Sun, 21 Jul 2019 21:04:48 +0200 X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 21 Jul 2019 21:04:48 +0200 X-ME-IP: 92.140.204.221 From: Christophe JAILLET To: rmfrfs@gmail.com, mchehab@kernel.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH] media: ov2680: fix a typo in a function name Date: Sun, 21 Jul 2019 21:04:23 +0200 Message-Id: <20190721190423.9534-1-christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 Reviewed-by: Rui Miguel Silva --- drivers/media/i2c/ov2680.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/ov2680.c b/drivers/media/i2c/ov2680.c index b10bcfabaeeb..c59c9e51c380 100644 --- a/drivers/media/i2c/ov2680.c +++ b/drivers/media/i2c/ov2680.c @@ -1023,7 +1023,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; @@ -1064,7 +1064,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;