summaryrefslogtreecommitdiffstats
path: root/include/linux/of.h
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>2016-09-12 14:01:28 +0100
committerRob Herring <robh@kernel.org>2016-09-15 08:32:57 -0500
commit79ac5d31df7011e2b60dba4bd1e2f9a9f65e5e1e (patch)
treec841f12430f9ea9504a3a9a47090e8cccd7cf315 /include/linux/of.h
parentd4b8e2c5b07e20f3ef0ca0a2bde390beb0f8fda5 (diff)
downloadtalos-obmc-linux-79ac5d31df7011e2b60dba4bd1e2f9a9f65e5e1e.tar.gz
talos-obmc-linux-79ac5d31df7011e2b60dba4bd1e2f9a9f65e5e1e.zip
of: Make of_find_property_value_of_size take a length range
In preparation for adding variable-length array reads, change of_find_property_value_of_size so that it takes an optional maximum length. If the maximum is passed as 0, the behaviour is unchanged and it will return a property if it's >= the requested minimum length. If maximum is non-zero it will only return a property whose length is min <= l <= max. Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'include/linux/of.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud