diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2017-07-29 21:07:07 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-14 16:01:02 +0300 |
commit | 98c01b19b85d8d87927e8cfa09c4a2a14add9ba2 (patch) | |
tree | 96d761dc0ea7a96641d17f1251317580808368c2 /tools/arch | |
parent | ff7e4d2a1516510e3a832340db1b86e349011a23 (diff) | |
download | linux-98c01b19b85d8d87927e8cfa09c4a2a14add9ba2.tar.xz |
pinctrl-st: fix of_irq_to_resource() result check
of_irq_to_resource() has recently been fixed to return negative error #'s
along with 0 in case of failure, however the ST driver still only regards
0 as failure indication -- fix it up.
Fixes: 7a4228bbff76 ("of: irq: use of_irq_get() in of_irq_to_resource()")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions