commit | 3daf37260e965aa4bb060db99c2ed10b28109e04 | [log] [tgz] |
---|---|---|
author | Tony Prisk <linux@prisktech.co.nz> | Sat Mar 23 17:02:15 2013 +1300 |
committer | Tony Prisk <linux@prisktech.co.nz> | Thu Apr 04 17:58:59 2013 +1300 |
tree | ea9a0908cf24622b29d21d16e30f995afe17a58a | |
parent | 8bb9660418e05bb1845ac1a2428444d78e322cc7 [diff] |
of: Add support for reading a u32 from a multi-value property. This patch adds an of_property_read_u32_index() function to allow reading a single indexed u32 value from a property containing multiple u32 values. Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Reviewed-by: Stephen Warren <swarren@nvidia.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Rob Herring <robherring2@gmail.com>