Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3051650iog; Mon, 27 Jun 2022 08:10:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1so3uHxap/fUKSz2ljJu0EUNOIW5wOODzonQKgiO+tTLX0jNsPVLTckO5UXbkjvxOqSeRCd X-Received: by 2002:a63:2a92:0:b0:40d:2013:9cee with SMTP id q140-20020a632a92000000b0040d20139ceemr12869042pgq.546.1656342630162; Mon, 27 Jun 2022 08:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656342630; cv=none; d=google.com; s=arc-20160816; b=kSzkJ/f9LuQy6ZPbEe50uVtlk8552J2e5Oj9jEankw/uH3vzgtjMa+YiCYrsAU/dxk 8tF5Mp770IUnpksqDe038U47bNhS104irD0HCs3Md/4eCdtP411Y6nXNU4J7K8cOiHQi hY4FBEf6c6G9IVz7Oj5eJQFlFr+RU4Z0J2i9CdJSI1nbW/+5tE2sua+3z8xDToPQGgo3 QF1jg+sxkOsjQSxLG9QOO7MUv9XhBBz/Evnl3wTdpKx7QVAislAWf/geMs07pW6wi5lF qc7cqhrKTR0LKQhtjqd8ukRQPW+VmwNknb74tgLN7kAlxVOdMYQo3aa+NgOeg7MU1UxN 0U7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=mbhraybs4BrIz6d4796cwXXFW6lfNPQ37w8o2Zpee1o=; b=u3Dk3s7jvXivH7Un1Q78GKWqj81upJW9bab4ITFPo48qHFYxdk0A38492a/Ux69WTW D+qxpQ7iM0aDSGdP44kTytMMJ6YMUwkwvtrddnlWgUxTVxQ/VhoWPOL9+i1HHxBgriU1 l3za9jasfgXwEoJXl7+b/NOmGGvRTw1SGClrHaAKGKDONxJYnxVEIRwyEYFGjngkWxGD 3C6zZOOmiRIODfpYAvwqVv6rdcmm5eAxyqy0uyLvPZZ9NOtNIpmZlVxKoEEB95Q6fGka iBcliCIM9ICbWNa2+rlvKITOowB9n9DezwrRKih8qBfGyif06sahBMsieYO8kGzlCLw6 iFuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@amarulasolutions.com header.s=google header.b=KupZZ+sa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e12-20020a170902e0cc00b00168db723df8si12314676pla.581.2022.06.27.08.10.14; Mon, 27 Jun 2022 08:10:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@amarulasolutions.com header.s=google header.b=KupZZ+sa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237675AbiF0PFR (ORCPT + 99 others); Mon, 27 Jun 2022 11:05:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237635AbiF0PFI (ORCPT ); Mon, 27 Jun 2022 11:05:08 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC794175B7 for ; Mon, 27 Jun 2022 08:05:05 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id i67-20020a1c3b46000000b003a03567d5e9so6057256wma.1 for ; Mon, 27 Jun 2022 08:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mbhraybs4BrIz6d4796cwXXFW6lfNPQ37w8o2Zpee1o=; b=KupZZ+sarY3guqQXY2ptFD5NlYKfyYBs2ZTgqZ0qkyAc7wHfgowtz1NZmiJdEnK+wo n1x4HvtvDNXbDaaHIfajhHX2qAR/vhf5P44qF9fLXEjvmB2olv9CHMsGOToomOpgv6kS AyNKEk/UWWE1IkxXRE2nAUpJtMUklGWeZx35I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mbhraybs4BrIz6d4796cwXXFW6lfNPQ37w8o2Zpee1o=; b=lEtO2If7yUPYUndsNo8eKY6kXwMCjR9lQ+yiLFZ1tBWC0Q3ehO7GsxOg+Ns7kPph2v YOvMuLjc0G4cj2cgySlgFUuezVClQfrZnvS9uoprEhB7FVNTRtyOTvxYYjT0OcP2a3cG SGBPl0WOSnP/35mFkGUh1CRmrsWAUthek9EQ3ZNrMwjJ8HW5uHYtaioWzlDWZozOktoO e9Seb+7Vd/zuT+zqccsaWg6SNtu7mh0gdSR5KW1Q7n2ieqckkLAkDpchOTM6Cr3k0BtL TWOwIoKe+9AXDo6dntpER83vWNpbX0HFb+zZKZACXcYXyeKrt5IwM9VL6/3o+mDU+4bf 066g== X-Gm-Message-State: AJIora8ZOmEIAmjebEzRQGx3++wNYvd4rTEoRllxeGpKKXZRq8jmXM5F 4rZDo3bYpeb3OwoLub5lG/l8ug== X-Received: by 2002:a05:600c:228c:b0:3a0:43ee:d88b with SMTP id 12-20020a05600c228c00b003a043eed88bmr13081363wmf.135.1656342304223; Mon, 27 Jun 2022 08:05:04 -0700 (PDT) Received: from tom-ThinkPad-T14s-Gen-2i.station (net-188-217-58-216.cust.vodafonedsl.it. [188.217.58.216]) by smtp.gmail.com with ESMTPSA id d18-20020adfe852000000b0021ba3d1f2a0sm10581250wrn.48.2022.06.27.08.05.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 08:05:03 -0700 (PDT) From: Tommaso Merciai Cc: linuxfancy@googlegroups.com, linux-amarula@amarulasolutions.com, quentin.schulz@theobroma-systems.com, Tommaso Merciai , Daniel Scally , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/7] media: ov5693: rename ov5693_check_hwcfg into ov5693_get_hwcfg Date: Mon, 27 Jun 2022 17:04:51 +0200 Message-Id: <20220627150453.220292-6-tommaso.merciai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220627150453.220292-1-tommaso.merciai@amarulasolutions.com> References: <20220627150453.220292-1-tommaso.merciai@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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