ARM: 6154/1: nomadik-gpio: refactor nmk_gpio_set_mode
authorRabin Vincent <rabin.vincent@stericsson.com>
Wed, 2 Jun 2010 04:50:28 +0000 (05:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 16 Jun 2010 21:27:35 +0000 (22:27 +0100)
Extract out a portion of nmk_gpio_set_mode() that can be called with the
lock already held.  This will be used from the pincfg API.

Cc: 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

Simple merge