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 09:28:49 +0000 (10:28 +0100)
commit21c4a0c852655a6062d87a385467b125be964f60
tree4a9de7ee8e11e9aaa0fbf9f56adc4f41d71f49d0
parent2b99d3279037631ca522cabf428c778a9b63163a
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