diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2016-09-12 15:01:28 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2016-09-15 15:32:57 +0200 |
commit | 79ac5d31df7011e2b60dba4bd1e2f9a9f65e5e1e (patch) | |
tree | c841f12430f9ea9504a3a9a47090e8cccd7cf315 /fs/sysv/ialloc.c | |
parent | dt: net: enhance DWC EQoS binding to support Tegra186 (diff) | |
download | linux-79ac5d31df7011e2b60dba4bd1e2f9a9f65e5e1e.tar.xz 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 'fs/sysv/ialloc.c')
0 files changed, 0 insertions, 0 deletions