max732x: correct nr_port checking off by one error
authorAxel Lin <axel.lin@gmail.com>
Wed, 26 May 2010 21:42:20 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:41 +0000 (09:12 -0700)
commit5535cb681c38bda94af02ef4b043a25b52303e65
tree9ad66972714c55298a2d64e332b1211419421aa4
parentc1cc9b9775c931a0015178daf92d41aec00580de
max732x: correct nr_port checking off by one error

Setup both client_group_a and client_group_b if nr_port > 8 (not including
nr_port==8).

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Eric Miao <eric.miao@marvell.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpio/max732x.c