lkml.org 
[lkml]   [2011]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] dt: add helper function to read u32 arrays
On Wed, Jul 06, 2011 at 02:59:33PM -0600, Grant Likely wrote:
> On Wed, Jul 06, 2011 at 03:42:58PM -0500, Rob Herring wrote:
> > From: Rob Herring <rob.herring@calxeda.com>
> >
> > Rework of_property_read_u32 to read an array of values. Then
> > of_property_read_u32 becomes an inline with array size of 1.
> >
> > Also make struct device_node ptr const.
> >
> > Signed-off-by: Rob Herring <rob.herring@calxeda.com>
> > Cc: Thomas Abraham <thomas.abraham@linaro.org>
> > Cc: Grant Likely <grant.likely@secretlab.ca>
> > ---
> >
> > Grant,
> >
> > Perhaps you want to roll this into the original patch?
>
> Applied, thanks. The original is already in devicetree/next, so I've
> just applied this on top as a separate commit.
>
> >
> > It would also be nice if there were empty versions of the helpers
> > as well.
>
> Go ahead and submit a patch to add them if you need it.
>
I'm adding one into my spi-dt series, as I need it there.

--
Regards,
Shawn



\
 
 \ /
  Last update: 2011-07-08 03:41    [W:0.084 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site