lkml.org 
[lkml]   [2021]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2021-12-06 16:17    [W:0.072 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site