diff options
author | Roland Stigge <stigge@antcom.de> | 2012-06-18 11:28:26 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-07-05 15:02:18 +0200 |
commit | 42b14cb037fefa33a2ff51c4d3915a49c71de3d5 (patch) | |
tree | 5accb630636ab2ce17de936e694bc3404b6fed55 /drivers/gpio | |
parent | 3996bfc787a3b3d7c7ad97b7519247f9f2ac4068 (diff) | |
download | talos-op-linux-42b14cb037fefa33a2ff51c4d3915a49c71de3d5.tar.gz talos-op-linux-42b14cb037fefa33a2ff51c4d3915a49c71de3d5.zip |
mips: pci-lantiq: Fix check for valid gpio
This patch fixes two checks for valid gpio number, formerly (wrongly)
considering zero as invalid, now using gpio_is_valid().
Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions