]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
make legacy gpio request/free calls superfluous (OMAP and mainline)
authorJarkko Nikula <jarkko.nikula@nokia.com>
Thu, 30 Oct 2008 07:38:34 +0000 (00:38 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Nov 2008 21:35:27 +0000 (13:35 -0800)
commitb8e11c0184abda5a5e47d2e5906482ca58809175
tree726172d81ee2ecc0f7a683f0d790586d625382ab
parent0e4f93af7c1645d326bed2bdf3a8dc8896705343
make legacy gpio request/free calls superfluous (OMAP and mainline)

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