ARM: 5623/1: Treo680: ir shutdown typo fix
authorTomas Cech <sleep_walker@suse.cz>
Mon, 27 Jul 2009 13:16:31 +0000 (14:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 27 Jul 2009 13:23:57 +0000 (14:23 +0100)
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>
arch/arm/mach-pxa/treo680.c

index a06f19edebb3a201da7e33645c0e7297af97e13c..753ec4df17b9447f412fbf6edded190e74f4c098 100644 (file)
@@ -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 = {