Input: ab8500-ponkey - fix IRQ freeing in error path
authorNicolas Kaiser <nikai@nikai.net>
Mon, 25 Oct 2010 04:48:11 +0000 (21:48 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 25 Oct 2010 04:56:17 +0000 (21:56 -0700)
Looks like an obvious typo to me.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/ab8500-ponkey.c

index 98f8ede504b830bfbf3752a597403d9877501f73..3d3288a78fdc66d4fcbf71f26f518e19581e45c9 100644 (file)
@@ -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: