summaryrefslogtreecommitdiffstats
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
parentd537155a09cd69f309fa31fc8bcc7a4b1d5a9f6c (diff)
downloadop-kernel-dev-c5fb514d2f0496ce58caed63bceb05fac40324b3.zip
op-kernel-dev-c5fb514d2f0496ce58caed63bceb05fac40324b3.tar.gz
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>
-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 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:
OpenPOWER on IntegriCloud