Commit e5d75fc2 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jakub Kicinski
parent 9745177c
......@@ -3368,8 +3368,7 @@ static int sh_eth_drv_probe(struct platform_device *pdev)
/* MDIO bus init */
ret = sh_mdio_init(mdp, pd);
if (ret) {
if (ret != -EPROBE_DEFER)
dev_err(&pdev->dev, "MDIO init failed: %d\n", ret);
dev_err_probe(&pdev->dev, ret, "MDIO init failed\n");
goto out_release;
}
......
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