ARM: OMAP: make legacy gpio request/free calls superfluous
commit3ff164e15574191c69e8406794b0578c8d2a4e23
authorJarkko Nikula <jarkko.nikula@nokia.com>
Thu, 11 Dec 2008 01:35:27 +0000 (10 17:35 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Dec 2008 01:35:27 +0000 (10 17:35 -0800)
tree66c338c6f8dc7893f7a0e44246191766499e83bf
parent15f74b0335962e8554c91e52d588dc9f8ee7098d
ARM: OMAP: make legacy gpio request/free calls superfluous

Clean up OMAP GPIO request/free functions

 - Rename and declare static OMAP specific GPIO request/free functions
 - Register them into gpiolib as chip-specific hooks
 - Add omap_request_gpio/omap_free_gpio wrappers for existing code not
   converted yet to use gpiolib

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
[ dbrownell@users.sourceforge.net: remove needless check_gpio() calls ]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/gpio.c
arch/arm/plat-omap/include/mach/gpio.h