From: Ben Dooks Date: Tue, 18 May 2010 10:07:05 +0000 (+0900) Subject: ARM: SAMSUNG: Fix additional increment when running through gpios X-Git-Tag: v2.6.35-rc1~500^2~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32b6cb3872883861f3a2669cce880f3a7ef8979a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed