commit | 32b6cb3872883861f3a2669cce880f3a7ef8979a | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Tue May 18 19:07:05 2010 +0900 |
committer | Ben Dooks <ben-linux@fluff.org> | Tue May 18 19:07:05 2010 +0900 |
tree | 1d22180eb5121546f716b8b70004905c8d2a3aa9 | |
parent | 4ac2a39767c2a93c06b654a0bf1c635e03ff75ac [diff] |
ARM: SAMSUNG: Fix additional increment when running through gpios The pm-gpio.c code was incrementing the gpio_nr from the nr_gpios field and the bank-bank offset inside the loop, and also in the for() loop with a ++. Remove the ++, as the number is already at the next GPIO, thus ensuring that we don't skip a gpio bank by accident. Signed-off-by: Ben Dooks <ben-linux@fluff.org>