of: base: use of_property_read_string()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 23 Jul 2017 16:55:48 +0000 (19:55 +0300)
committerRob Herring <robh@kernel.org>
Mon, 24 Jul 2017 14:50:34 +0000 (09:50 -0500)
commitb0d9d92f9ce60cd070a62c136914e6fe9d20d49d
tree685d16995e111791bc62a3272cf8b59d7f57916f
parent8832963d89f09e4cef6c1ec62f0082a545baf69d
of: base: use of_property_read_string()

of_alias_scan() can use of_property_read_string() -- using the modern DT API
adds some prop sanity checks as a bonus; it does add couple LoCs but only
because the original code violated the 80-column limit...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/base.c