ravb: propagate platform_get_irq() error upstream
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 28 Aug 2015 13:55:10 +0000 (16:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2015 05:25:42 +0000 (22:25 -0700)
commitf375339e497582ea0bc8806a0552add1cabb6d4e
treefe1d0cb4be4277273223e8c4acf36d146b7d8c11
parent7c5a9461812b21e1a1b7a09a83e97530b8867459
ravb: propagate platform_get_irq() error upstream

The driver overrides the error returned by platform_get_irq() with -ENODEV
which e.g. precludes the deferred  probing from working. Propagate the real
error code to the driver core instead.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb_main.c