arm: mach-mx3: use IMX_GPIO_NR instead of hard-coded values

The latter are error-prone because the bank number is one less than one
would read in the documentation.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Eric Benard <eric@eukrea.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Wolfram Sang 2011-02-23 14:51:58 +01:00 • committed by Sascha Hauer
commit d4abe93386
3 changed files with 6 additions and 6 deletions