summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorNicolas Kaiser <nikai@nikai.net>2010-10-24 21:48:11 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-10-24 21:56:17 -0700
commitc5fb514d2f0496ce58caed63bceb05fac40324b3 (patch)
treed9ec96f5ca039078349b286cf5325a61c40819e7 /drivers/input/misc
parentd537155a09cd69f309fa31fc8bcc7a4b1d5a9f6c (diff)
Input: ab8500-ponkey - fix IRQ freeing in error path
Looks like an obvious typo to me. Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r--drivers/input/misc/ab8500-ponkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/ab8500-ponkey.c b/drivers/input/misc/ab8500-ponkey.c
index 98f8ede504b..3d3288a78fd 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: