]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] MX1/MX2: simplify mxc_gpio_setup_multiple_pins
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 4 Nov 2008 15:48:46 +0000 (16:48 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 16 Dec 2008 13:46:14 +0000 (14:46 +0100)
commit7bd1822135175354e1662cc890a156f1d89dc211
tree91c0278ee0cfb2728bee25ff9fd3ca171d225ab8
parentd1900d3a18b114eabc15f6369f64439c248d55f3
[ARM] MX1/MX2: simplify mxc_gpio_setup_multiple_pins

mxc_gpio_setup_multiple_pins used to take several ALLOC_MODE flags. Most
of them are unused, so simplify the function by removing the flags. Also,
instead of using a confusing MXC_GPIO_ALLOC_MODE_RELEASE flag in a function
having alloc in its name, add a mxc_gpio_release_multiple_pins function.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx2/mx27ads.c
arch/arm/mach-mx2/pcm038.c
arch/arm/plat-mxc/include/mach/iomux-mx1-mx2.h
arch/arm/plat-mxc/iomux-mx1-mx2.c