ARM: mx28evk: Simplify GPIO requests
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 27 Jan 2012 14:52:32 +0000 (12:52 -0200)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 31 Jan 2012 14:39:22 +0000 (22:39 +0800)
commitc5f98794f9d807c1d203468f8deb1b3524a95e67
tree828821c17125e65dec9cef6cd3bbe90c0dbb87ee
parent9250bc8b76bd7e89a9891c9a862aa3eea7bcfb8e
ARM: mx28evk: Simplify GPIO requests

Requesting all the GPIOs on a single array (mx28evk_gpios[]) can make the
error handling of gpio_requests much simpler.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/mach-mx28evk.c