summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTomas Cech <sleep_walker@suse.cz>2009-07-27 15:16:31 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-07-27 15:23:57 +0200
commitc640e1cb45cb9ff6b02f5f130a4f2a58ab9ebe55 (patch)
tree02c6619b1b9ff5ebe1f882a731be38f0ed0d44b3 /arch
parentARM: includecheck fix: plat-stmp3xxx/pinmux.c (diff)
downloadlinux-c640e1cb45cb9ff6b02f5f130a4f2a58ab9ebe55.tar.xz
linux-c640e1cb45cb9ff6b02f5f130a4f2a58ab9ebe55.zip
ARM: 5623/1: Treo680: ir shutdown typo fix
correct GPIO freed in treo680_irda_shutdown() Signed-off-by: Tomáš ?ech <sleep_walker@suse.cz> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-pxa/treo680.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/treo680.c b/arch/arm/mach-pxa/treo680.c
index a06f19edebb3..753ec4df17b9 100644
--- a/arch/arm/mach-pxa/treo680.c
+++ b/arch/arm/mach-pxa/treo680.c
@@ -409,7 +409,7 @@ err1:
static void treo680_irda_shutdown(struct device *dev)
{
- gpio_free(GPIO_NR_TREO680_AMP_EN);
+ gpio_free(GPIO_NR_TREO680_IR_EN);
}
static struct pxaficp_platform_data treo680_ficp_info = {