diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-05-02 14:13:10 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-05-02 14:34:21 +0300 |
commit | 4c37ce8608a8c6521726d4cd1d4f54424e8d095f (patch) | |
tree | eee58f88ba6ba7a536b43f3b15775b95197b3c70 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3b711e0781f34400326f911c15784e84deca84b6 (diff) | |
download | linux-4c37ce8608a8c6521726d4cd1d4f54424e8d095f.tar.xz |
gpio: make gpiod_to_irq() return negative for NO_IRQ
If a translation returns zero, that means NO_IRQ, so we
should return an error since the function is documented to
return a negative code on error.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
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