summaryrefslogtreecommitdiff
path: root/drivers/net/phy/mdio-mux-mmioreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/mdio-mux-mmioreg.c')
-rw-r--r--drivers/net/phy/mdio-mux-mmioreg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/phy/mdio-mux-mmioreg.c b/drivers/net/phy/mdio-mux-mmioreg.c
index 2573ab012f16..70f6115530af 100644
--- a/drivers/net/phy/mdio-mux-mmioreg.c
+++ b/drivers/net/phy/mdio-mux-mmioreg.c
@@ -163,8 +163,9 @@ static int mdio_mux_mmioreg_probe(struct platform_device *pdev)
mdio_mux_mmioreg_switch_fn,
&s->mux_handle, s, NULL);
if (ret) {
- dev_err(&pdev->dev, "failed to register mdio-mux bus %pOF\n",
- np);
+ if (ret != -EPROBE_DEFER)
+ dev_err(&pdev->dev,
+ "failed to register mdio-mux bus %pOF\n", np);
return ret;
}