Commit 4daf08a0 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "usb: host: ehci-sh: propagate errors from platform_get_irq()"

This reverts commit 1aebf115 as the
prerequsite commit for it is not in the tree.

Cc: Alan Stern <stern@rowland.harvard.edu>
Reported-by: default avatarSergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 236c9ad1
......@@ -82,8 +82,8 @@ static int ehci_hcd_sh_probe(struct platform_device *pdev)
return -ENODEV;
irq = platform_get_irq(pdev, 0);
if (irq < 0) {
ret = irq;
if (irq <= 0) {
ret = -ENODEV;
goto fail_create_hcd;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment