[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141118080451.GA3319@jack-ThinkPad-T520>
Date: Tue, 18 Nov 2014 17:04:51 +0900
From: Gyungoh Yoo <gyungoh@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: sameo@...ux.intel.com, lee.jones@...aro.org, jg1.han@...sung.com,
cooloney@...il.com, lgirdwood@...il.com, jack.yoo@...worksinc.com,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
grant.likely@...aro.org, robh+dt@...nel.org, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
pawel.moll@....com, heiko@...ech.de, jason@...edaemon.net,
shawn.guo@...escale.com, treding@...dia.com,
florian.vaussard@...l.ch, trivial@...nel.org, linux@...ck-us.net,
andrew@...n.ch, jic23@...nel.org
Subject: Re: [RESUBMIT PATCH v7 7/9] regulator: sky81452: Modify Device Tree
structure
On Mon, Nov 17, 2014 at 02:18:36PM +0000, Mark Brown wrote:
> On Mon, Nov 17, 2014 at 05:33:08PM +0900, gyungoh@...il.com wrote:
>
> > np = of_get_child_by_name(dev->parent->of_node, "regulator");
>
> > + ret = of_regulator_match(dev, np, &sky81452_match, 1);
>
> Don't open code this, use regulators_node and of_match as previously
> advised.
I think I had a misunderstanding.
But I have no idea about regulators_node and of_match.
Could you let me know more about them?
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists