All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tommaso Merciai <tommaso.merciai@amarulasolutions.com>
To: unlisted-recipients:; (no To-header on input)
Cc: linuxfancy@googlegroups.com, linux-amarula@amarulasolutions.com,
	quentin.schulz@theobroma-systems.com,
	Tommaso Merciai <tommaso.merciai@amarulasolutions.com>,
	Daniel Scally <djrscally@gmail.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 5/7] media: ov5693: rename ov5693_check_hwcfg into ov5693_get_hwcfg
Date: Sat, 25 Jun 2022 01:03:05 +0200	[thread overview]
Message-ID: <20220624230307.3066530-6-tommaso.merciai@amarulasolutions.com> (raw)
In-Reply-To: <20220624230307.3066530-1-tommaso.merciai@amarulasolutions.com>

Function ov5693_check_hwcfg don't only check the hw configuration but
also get the hw configuration. Is better better to rename this into ov5693_get_hwcfg

Signed-off-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com>
---
 drivers/media/i2c/ov5693.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/i2c/ov5693.c b/drivers/media/i2c/ov5693.c
index d5a934ace597..273caef467fe 100644
--- a/drivers/media/i2c/ov5693.c
+++ b/drivers/media/i2c/ov5693.c
@@ -1339,7 +1339,7 @@ static int ov5693_get_regulators(struct ov5693_device *ov5693)
 				       ov5693->supplies);
 }
 
-static int ov5693_check_hwcfg(struct ov5693_device *ov5693)
+static int ov5693_get_hwcfg(struct ov5693_device *ov5693)
 {
 	struct fwnode_handle *fwnode = dev_fwnode(ov5693->dev);
 	struct v4l2_fwnode_endpoint bus_cfg = {
@@ -1431,7 +1431,7 @@ static int ov5693_probe(struct i2c_client *client)
 	ov5693->client = client;
 	ov5693->dev = &client->dev;
 
-	ret = ov5693_check_hwcfg(ov5693);
+	ret = ov5693_get_hwcfg(ov5693);
 	if (ret)
 		return ret;
 
-- 
2.25.1


  parent reply	other threads:[~2022-06-24 23:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 23:03 [PATCH 0/7] media: ov5693: cleanup code and add dts support Tommaso Merciai
2022-06-24 23:03 ` [PATCH 1/7] media: ov5693: count num_supplies using array_size Tommaso Merciai
2022-06-24 23:03 ` [PATCH 2/7] media: ov5693: add dvdd into ov5693_supply_names array Tommaso Merciai
2022-06-24 23:03 ` [PATCH 3/7] media: ov5693: rename clk into xvclk Tommaso Merciai
2022-06-24 23:03 ` [PATCH 4/7] media: ov5693: move hw cfg functions into ov5693_check_hwcfg Tommaso Merciai
2022-06-24 23:03 ` Tommaso Merciai [this message]
2022-06-24 23:03 ` [PATCH 6/7] media: ov5693: add ov5693_of_match, dts support Tommaso Merciai
2022-06-24 23:03 ` [PATCH 7/7] media: dt-bindings: ov5693: document YAML binding Tommaso Merciai
2022-06-25 20:35   ` Krzysztof Kozlowski
2022-06-27  8:02     ` Tommaso Merciai
2022-06-27 13:31   ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220624230307.3066530-6-tommaso.merciai@amarulasolutions.com \
    --to=tommaso.merciai@amarulasolutions.com \
    --cc=djrscally@gmail.com \
    --cc=linux-amarula@amarulasolutions.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linuxfancy@googlegroups.com \
    --cc=mchehab@kernel.org \
    --cc=quentin.schulz@theobroma-systems.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.