summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2007-10-22 06:59:38 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2007-10-22 06:59:38 +0200
commit858711c55f757872b11574599bfa836df8ab34c9 (patch)
tree6547df997a9b77da682d5643ac73c05dca98a4e4
parentInput: i8042 - export i8042_command() (diff)
downloadlinux-858711c55f757872b11574599bfa836df8ab34c9.tar.xz
linux-858711c55f757872b11574599bfa836df8ab34c9.zip
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>
-rw-r--r--drivers/input/keyboard/bf54x-keys.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c
index a67b29b089ef..e5f4da928340 100644
--- a/drivers/input/keyboard/bf54x-keys.c
+++ b/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;
}