sh_eth: Do not print an error message for probe deferral
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 18 May 2017 13:01:35 +0000 (15:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 May 2017 15:21:07 +0000 (11:21 -0400)
commitb7ce520e9f71ff65d0aa0ad86223f94ae4095fae
tree66a32fe9da54d9d02d57aee68df43124ed0c04bb
parent5f5c5449acad0cd3322e53e1ac68c044483b0aa5
sh_eth: Do not print an error message for probe deferral

EPROBE_DEFER is not an error, hence printing an error message like

    sh-eth ee700000.ethernet: failed to initialise MDIO

may confuse the user.

To fix this, suppress the error message in case of probe deferral.
While at it, shorten the message, and add the actual error code.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c