]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe2e05b97c636662da97721bf7c7b1419bd1f851
treefb3c8df039c71b6ee78b06537d1279f5eb2f322e
parent8c29bf7691dd8230b728a7ac443df11b5876fa9b
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