summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Kaiser <nikai@nikai.net>2010-10-25 06:48:11 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-10-25 06:56:17 +0200
commitc5fb514d2f0496ce58caed63bceb05fac40324b3 (patch)
treed9ec96f5ca039078349b286cf5325a61c40819e7
parentInput: adp5588-keys - use more obvious i2c_device_id name string (diff)
downloadlinux-c5fb514d2f0496ce58caed63bceb05fac40324b3.tar.xz
linux-c5fb514d2f0496ce58caed63bceb05fac40324b3.zip
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 98f8ede504b8..3d3288a78fdc 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: