summaryrefslogtreecommitdiffstats
path: root/net/dcb
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-07-21 15:45:32 -0500
committerRob Herring <robh@kernel.org>2017-08-01 12:24:06 -0500
commitbc575064d688c8933a6ca51429bea9bc63628d3b (patch)
treefcece9b4269ea89e2c0500206a18a179c669bb98 /net/dcb
parent7c6ffa0b2703bc8b23243bf262728004afe6656d (diff)
downloadlinux-bc575064d688c8933a6ca51429bea9bc63628d3b.tar.bz2
of/device: use of_property_for_each_string to parse compatible strings
Instead of directly parsing the compatible property, use the of_property_for_each_string() helper to iterate over each compatible string. This reduces the LoC and makes the functions easier to understand. Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions