summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Cech <sleep_walker@suse.cz>2009-07-27 13:16:31 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-07-27 13:23:57 (GMT)
commitc640e1cb45cb9ff6b02f5f130a4f2a58ab9ebe55 (patch)
tree02c6619b1b9ff5ebe1f882a731be38f0ed0d44b3
parent40e03b581a8a0b638bc1e9b957ae0536a4a00ad3 (diff)
downloadlinux-c640e1cb45cb9ff6b02f5f130a4f2a58ab9ebe55.tar.xz
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>
-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 a06f19e..753ec4d 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 = {