Browse Source

Input: bf54x-keys - return real error when request_irq() fails

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Michael Hennerich 18 years ago
parent
commit
858711c55f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/input/keyboard/bf54x-keys.c

+ 0 - 1
drivers/input/keyboard/bf54x-keys.c

@@ -256,7 +256,6 @@ static int __devinit bfin_kpad_probe(struct platform_device *pdev)
 		printk(KERN_ERR DRV_NAME
 			": unable to claim irq %d; error %d\n",
 			bf54x_kpad->irq, error);
-		error = -EBUSY;
 		goto out2;
 	}