gpio: remove unneeded initializer in gpiochip_add_to_list()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 21 Jul 2015 05:45:40 +0000 (14:45 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Jul 2015 12:40:33 +0000 (14:40 +0200)
commitd1aceb80c685b0735268fba296523f5d7264ff22
treedd683ed466fa80bcf6bbe14bab8645b9af0a735b
parentbb379ceb8d9f3599ab9162ebf58d731350f4177a
gpio: remove unneeded initializer in gpiochip_add_to_list()

This variable is used as an iterator and initialized in the
list_for_each() loop.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c