summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorTomas Cech <sleep_walker@suse.cz>2009-07-27 14:16:31 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-07-27 14:23:57 +0100
commitc640e1cb45cb9ff6b02f5f130a4f2a58ab9ebe55 (patch)
tree02c6619b1b9ff5ebe1f882a731be38f0ed0d44b3 /arch/arm/mach-pxa
parent40e03b581a8a0b638bc1e9b957ae0536a4a00ad3 (diff)
downloadlinux-c640e1cb45cb9ff6b02f5f130a4f2a58ab9ebe55.tar.bz2
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/arm/mach-pxa')
-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 = {