[PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays

Viresh Kumar viresh.kumar at linaro.org
Tue Nov 6 22:08:24 EST 2012


On 26 October 2012 09:50, Viresh Kumar <viresh.kumar at linaro.org> wrote:

> This adds following helper routines:
> - of_property_read_u8_array()
> - of_property_read_u16_array()
> - of_property_read_u8()
> - of_property_read_u16()
>
> First two actually share most of the code with
> of_property_read_u32_array(), so
> the common part is taken out into a macro, which can be used by all three
> *_array() routines.
>
> Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>
>

Ping!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20121106/3b336b3d/attachment-0001.html>


More information about the devicetree-discuss mailing list