Skip to content
Commit bc575064 authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarRob Herring <robh@kernel.org>
parent 7c6ffa0b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment