commit | 8832963d89f09e4cef6c1ec62f0082a545baf69d | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sun Jul 23 19:55:47 2017 +0300 |
committer | Rob Herring <robh@kernel.org> | Mon Jul 24 09:50:07 2017 -0500 |
tree | 7a9031d163fa5b854339b055d304b4d020796c59 | |
parent | fda9f5d4a97cedba3174641263a49d82ff3c3469 [diff] |
of: base: use of_property_read_u32() of_n_{addr|size}_cells() predate of_property_read_u32(), so they have to basically open-code it. Using the modern DT API saves several LoCs and also adds some prop sanity checks as a bonus... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Rob Herring <robh@kernel.org>