diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2017-07-23 18:55:47 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-07-24 16:50:07 +0200 |
commit | 8832963d89f09e4cef6c1ec62f0082a545baf69d (patch) | |
tree | 7a9031d163fa5b854339b055d304b4d020796c59 /lib/irq_poll.c | |
parent | of: remove unused pci_space variable from address.c (diff) | |
download | linux-8832963d89f09e4cef6c1ec62f0082a545baf69d.tar.xz linux-8832963d89f09e4cef6c1ec62f0082a545baf69d.zip |
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>
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions