[PATCH 2/2] pinctrl: mediatek: Fix pinctrl register irq fail bug.
From: Axel Lin <hidden>
Date: 2015-05-28 01:11:53
Also in:
linux-gpio, linux-mediatek, lkml
From: Axel Lin <hidden>
Date: 2015-05-28 01:11:53
Also in:
linux-gpio, linux-mediatek, lkml
2015-05-27 17:43 GMT+08:00 Hongzhou Yang [off-list ref]:
Since mt6397 is no need to support interrupt controller, I judged "interrupt-controller" property to skip it last patch. But the if judgement should on the contrary, this is a bug. And find of_property_read_bool is better for this case. So using of_property_read_bool instead of of_find_property. Also fix bug of misuse pointer. Signed-off-by: Hongzhou Yang <redacted>
Reviewed-by: Axel Lin <redacted>