Explorar o código

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>
Nicolas Kaiser %!s(int64=15) %!d(string=hai) anos
pai
achega
c5fb514d2f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/input/misc/ab8500-ponkey.c

+ 1 - 1
drivers/input/misc/ab8500-ponkey.c

@@ -107,7 +107,7 @@ static int __devinit ab8500_ponkey_probe(struct platform_device *pdev)
 	return 0;
 	return 0;
 
 
 err_free_dbr_irq:
 err_free_dbr_irq:
-	free_irq(ponkey->irq_dbf, ponkey);
+	free_irq(ponkey->irq_dbr, ponkey);
 err_free_dbf_irq:
 err_free_dbf_irq:
 	free_irq(ponkey->irq_dbf, ponkey);
 	free_irq(ponkey->irq_dbf, ponkey);
 err_free_mem:
 err_free_mem: