diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2007-10-22 00:59:38 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2007-10-22 00:59:38 -0400 |
commit | 858711c55f757872b11574599bfa836df8ab34c9 (patch) | |
tree | 6547df997a9b77da682d5643ac73c05dca98a4e4 /drivers | |
parent | 553a05b8821f5a6bc633e97187933e2157b2d291 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/keyboard/bf54x-keys.c | 1 |
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) | |||
256 | printk(KERN_ERR DRV_NAME | 256 | printk(KERN_ERR DRV_NAME |
257 | ": unable to claim irq %d; error %d\n", | 257 | ": unable to claim irq %d; error %d\n", |
258 | bf54x_kpad->irq, error); | 258 | bf54x_kpad->irq, error); |
259 | error = -EBUSY; | ||
260 | goto out2; | 259 | goto out2; |
261 | } | 260 | } |
262 | 261 | ||