diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-12-10 20:35:25 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-12-10 20:35:25 -0500 |
commit | 0b84b5ca43a9c86cfad848c135fdbf7c72af68fa (patch) | |
tree | 9eb6f9cfb74c245bdb68be9c8814778ddc2ff1f4 /arch/arm/mach-omap2/board-apollon.c | |
parent | a007b7096feea2d865ad3e7177eb8be34041bef9 (diff) |
ARM: OMAP: switch to standard gpio get/set calls
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>
Diffstat (limited to 'arch/arm/mach-omap2/board-apollon.c')
-rw-r--r-- | arch/arm/mach-omap2/board-apollon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index 989ad152d7f8..a4ba52c8119b 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -361,7 +361,7 @@ static void __init apollon_usb_init(void) | |||
361 | omap_cfg_reg(P21_242X_GPIO12); | 361 | omap_cfg_reg(P21_242X_GPIO12); |
362 | omap_request_gpio(12); | 362 | omap_request_gpio(12); |
363 | omap_set_gpio_direction(12, 0); /* OUT */ | 363 | omap_set_gpio_direction(12, 0); /* OUT */ |
364 | omap_set_gpio_dataout(12, 0); | 364 | gpio_set_value(12, 0); |
365 | } | 365 | } |
366 | 366 | ||
367 | static void __init omap_apollon_init(void) | 367 | static void __init omap_apollon_init(void) |