diff options
author | Hongzhou Yang <hongzhou.yang@mediatek.com> | 2015-05-27 05:43:55 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-06-02 05:08:03 -0400 |
commit | fc63d854cb55bfe2b6c67317b5bd91aaa2d058c3 (patch) | |
tree | 8cba318fb3c2a0aeb0867d369c1bd628fe055745 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 257e961ddd66998b360447ea27db7936d8defaa0 (diff) |
pinctrl: mediatek: Fix pinctrl register irq fail bug.
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 <hongzhou.yang@mediatek.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions