commit | 42b14cb037fefa33a2ff51c4d3915a49c71de3d5 | [log] [tgz] |
---|---|---|
author | Roland Stigge <stigge@antcom.de> | Mon Jun 18 11:28:26 2012 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jul 05 15:02:18 2012 +0200 |
tree | 5accb630636ab2ce17de936e694bc3404b6fed55 | |
parent | 3996bfc787a3b3d7c7ad97b7519247f9f2ac4068 [diff] |
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>