ARM: S5P: fix incorrect loop iterator usage on gpio-interrupt
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 26 Sep 2011 04:16:45 +0000 (13:16 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 26 Sep 2011 04:17:41 +0000 (13:17 +0900)
commitb76f7cdca5af18fa7a59a5c8a9eb5e02418e827a
tree251dce7282c2194734719b0802c568a268d31b73
parent4344646ff127eaea4d58266ccd8fdd2a38fb9672
ARM: S5P: fix incorrect loop iterator usage on gpio-interrupt

Loop iterator value after terminating list_for_each_entry()
is not NULL. This patch fixes incorrect iterator usage in
GPIO interrupt code for SAMSUNG S5P platforms.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-s5p/irq-gpioint.c