]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: ath79: Check valid gpio count for both DT and non-DT cases
authorAxel Lin <axel.lin@ingics.com>
Sat, 20 Feb 2016 01:48:07 +0000 (09:48 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Feb 2016 14:20:43 +0000 (15:20 +0100)
commit3e44072090d70905a57c5dacf5fb39eb4750f14a
treed69f40023e03d75de59f5b1e9ecd0a8b4ebd1954
parente2caae97228ace054673e4e6d16801f5460ad8dd
gpio: ath79: Check valid gpio count for both DT and non-DT cases

Move the code checking valid gpio count to cover both DT and non-DT cases.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-ath79.c