[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Ya4nn0/qp5El8P0L@sirena.org.uk>
Date: Mon, 6 Dec 2021 15:09:19 +0000
From: Mark Brown <broonie@...nel.org>
To: "Satya Priya Kakitapalli (Temp)" <quic_c_skakit@...cinc.com>
Cc: Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>, swboyd@...omium.org,
collinsd@...eaurora.org, subbaram@...eaurora.org,
Das Srinagesh <gurus@...eaurora.org>,
linux-arm-msm@...r.kernel.org, Lee Jones <lee.jones@...aro.org>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V4 4/6] regulator: Add a regulator driver for the PM8008
PMIC
On Mon, Dec 06, 2021 at 08:13:57PM +0530, Satya Priya Kakitapalli (Temp) wrote:
> On 11/25/2021 9:15 PM, Mark Brown wrote:
> > On Fri, Nov 19, 2021 at 03:12:31PM +0530, Satya Priya wrote:
> > > + child_node = of_get_child_by_name(parent_node, reg->name);
> > > + if (!child_node) {
> > > + dev_err(dev, "child node %s not found\n", reg->name);
> > > + return -ENODEV;
> > > + }
> > This could be pulled out of the array.
> Not sure what you meant here. could you elaborate a bit?
Why is this in every iteration of the loop?
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists