mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
553a05b882
commit
858711c55f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue