diff mbox

drivers/input: ab8500-ponkey: fix error path

Message ID 20101024170919.18cf4372@absol.kitzblitz (mailing list archive)
State Accepted
Commit c5fb514d2f0496ce58caed63bceb05fac40324b3
Headers show

Commit Message

Nicolas Kaiser Oct. 24, 2010, 3:09 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/input/misc/ab8500-ponkey.c b/drivers/input/misc/ab8500-ponkey.c
index 98f8ede..3d3288a 100644
--- a/drivers/input/misc/ab8500-ponkey.c
+++ b/drivers/input/misc/ab8500-ponkey.c
@@ -107,7 +107,7 @@  static int __devinit ab8500_ponkey_probe(struct platform_device *pdev)
 	return 0;
 
 err_free_dbr_irq:
-	free_irq(ponkey->irq_dbf, ponkey);
+	free_irq(ponkey->irq_dbr, ponkey);
 err_free_dbf_irq:
 	free_irq(ponkey->irq_dbf, ponkey);
 err_free_mem: