Skip to content
Commit 42b14cb0 authored by Roland Stigge's avatar Roland Stigge Committed by Linus Walleij
Browse files

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: default avatarRoland Stigge <stigge@antcom.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 3996bfc7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment