of: irq: use of_property_read_u32()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 8 Jul 2017 20:29:52 +0000 (23:29 +0300)
committerRob Herring <robh@kernel.org>
Fri, 21 Jul 2017 14:59:36 +0000 (09:59 -0500)
commitfa976ff7b00c31af2b9069751cd55140d8aa30b4
tree4e6ec27a32856a43b7ed76c1fa4aa8f414ebdd6d
parent6a245d959c747079e88bb1c61baa61d43d460a44
of: irq: use of_property_read_u32()

The DT interrupt parsing code predates of_property_read_u32(), so it has 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>
drivers/of/irq.c