of/irq: use of_property_read_u32_index to parse interrupts property
authorRob Herring <robh@kernel.org>
Fri, 21 Jul 2017 21:56:12 +0000 (16:56 -0500)
committerRob Herring <robh@kernel.org>
Tue, 1 Aug 2017 17:24:06 +0000 (12:24 -0500)
commitb47fe22d82e39551a5049f4bd02eb71f7d497762
treefb3c8df039c71b6ee78b06537d1279f5eb2f322e
parentbc575064d688c8933a6ca51429bea9bc63628d3b
of/irq: use of_property_read_u32_index to parse interrupts property

Convert the interrupts property parsing to use the OF property API
instead of open coding the parsing of the raw property value. This saves
a number of LoC, and the result is easier to read.

Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/irq.c