gpio: brcmstb: Use list_for_each_entry at appropriate places
authorAxel Lin <axel.lin@ingics.com>
Sat, 20 Feb 2016 01:50:37 +0000 (09:50 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Feb 2016 14:20:43 +0000 (15:20 +0100)
commitb178e7ead0cd111d9cb776a2a12abf953e50c2e8
tree40d3e47c2e140c08abbd0909d987d782cb904e25
parentf0d3c72ccb3224fa70cbdb7998b1263d739b1b3c
gpio: brcmstb: Use list_for_each_entry at appropriate places

Use list_for_each_entry to simplify the code a bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-brcmstb.c