Re: [PATCH 1/2] dt: add helper function to read u32 arrays

From: Shawn Guo
Date: Thu Jul 07 2011 - 21:38:54 EST


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@xxxxxxxxxxx>
> >
> > 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@xxxxxxxxxxx>
> > Cc: Thomas Abraham <thomas.abraham@xxxxxxxxxx>
> > Cc: Grant Likely <grant.likely@xxxxxxxxxxxx>
> > ---
> >
> > 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/