]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
switch to standard gpio get/set calls (OMAP and mainline)
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 30 Oct 2008 03:41:52 +0000 (20:41 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Nov 2008 21:12:45 +0000 (13:12 -0800)
commit937ae733891d4dbdbc414759809e660d2d4d02d0
treec9e57fa179f286164464fbf9f4d4fcd8e6229e1e
parentd59842e6881e8f58cb17de5c0d11866796347d50
switch to standard gpio get/set calls (OMAP and mainline)

This patch replaces some legacy OMAP GPIO calls with the "new" (not
really, any more!) calls that work on most platforms.

The calls addressed by this patch are the simple ones to get and set
values ... for code that's in mainline, including the implementations
of those calls.

Except for the declarations and definitions of those calls, all of
these changes were performed by a simple SED script.  Plus, a few
"if() set() else set()" branches were merged by hand.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
17 files changed:
arch/arm/mach-omap1/board-fsample.c
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-h3.c
arch/arm/mach-omap1/board-nokia770.c
arch/arm/mach-omap1/board-palmte.c
arch/arm/mach-omap1/board-palmtt.c
arch/arm/mach-omap1/board-palmz71.c
arch/arm/mach-omap1/board-perseus2.c
arch/arm/mach-omap1/board-sx1.c
arch/arm/mach-omap1/board-voiceblue.c
arch/arm/mach-omap1/leds-h2p2-debug.c
arch/arm/mach-omap1/leds-osk.c
arch/arm/mach-omap2/board-apollon.c
arch/arm/plat-omap/debug-leds.c
arch/arm/plat-omap/gpio.c
arch/arm/plat-omap/include/mach/gpio.h
drivers/mtd/onenand/omap2.c