ARM: 6100/1: nomadik-gpio: factor out helper to enable/disable irqs
authorRabin Vincent <rabin.vincent@stericsson.com>
Thu, 6 May 2010 09:42:42 +0000 (10:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 6 May 2010 19:17:18 +0000 (20:17 +0100)
commit040e5ecddaa72f1f982b83cb205509bc9ce7f91e
tree0fea453828a29b4df0a4fe373bd13986c1bf4543
parent6b07aaedc029d507501a931aabfd3d0a70f1828f
ARM: 6100/1: nomadik-gpio: factor out helper to enable/disable irqs

Remove some nearly-duplicated code to make the following patch simpler.

Acked-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-nomadik/gpio.c