arm: mach-mx3: use IMX_GPIO_NR instead of hard-coded values
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 23 Feb 2011 13:51:58 +0000 (14:51 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 1 Mar 2011 13:19:48 +0000 (14:19 +0100)
commitd4abe93386890061f109f2f2a46761ac5129bed6
tree666bf9d6a9b8e4c0bcc85d9aa700a0b85384d8df
parentea7ee4cae4db6630b388f39c3abe4f86f67211f9
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>
arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c
arch/arm/mach-mx3/mach-cpuimx35.c
arch/arm/mach-mx3/mach-pcm043.c