Input: bf54x-keys - return real error when request_irq() fails
authorMichael Hennerich <michael.hennerich@analog.com>
Mon, 22 Oct 2007 04:59:38 +0000 (00:59 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Oct 2007 04:59:38 +0000 (00:59 -0400)
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>
drivers/input/keyboard/bf54x-keys.c

index a67b29b..e5f4da9 100644 (file)
@@ -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;
        }