Re: [RESUBMIT PATCH v7 7/9] regulator: sky81452: Modify Device Tree structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, Nov 17, 2014 at 02:18:36PM +0000, Mark Brown wrote:
> On Mon, Nov 17, 2014 at 05:33:08PM +0900, gyungoh@xxxxxxxxx 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 devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux