commit | bc575064d688c8933a6ca51429bea9bc63628d3b | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Fri Jul 21 15:45:32 2017 -0500 |
committer | Rob Herring <robh@kernel.org> | Tue Aug 01 12:24:06 2017 -0500 |
tree | fcece9b4269ea89e2c0500206a18a179c669bb98 | |
parent | 7c6ffa0b2703bc8b23243bf262728004afe6656d [diff] |
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>