]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: fix warning about iterator
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Sun, 27 Dec 2015 13:36:50 +0000 (19:06 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 27 Dec 2015 22:51:21 +0000 (23:51 +0100)
commite28ecca6eac40646780b83edab81a496cea3d220
tree424f60a57531739fbef2bcd9654784d2d6616a6c
parent60befd2ea1c2061775838ea7bac5cc2b1353afd0
gpio: fix warning about iterator

We were getting build warning about "iterator" being used uninitialized.
Use iterator properly to fix the build warning and in the process remove
the variable "pos" which is not required now.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c