The mdio bus is used to control externel switch. In most cases, they are
disabled, which is the normal behavior. Treating this as an error makes
no sense, so we need to change the notification level from error to info.
Fixes: a2acdf960704 ("ramips: mt7620: remove useless GMAC nodes")
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
(cherry picked from commit
285f0668f4058a935389985eb80353c8a5adbc7d)
err_put_node:
of_node_put(mii_np);
err_no_bus:
- dev_err(priv->dev, "%s disabled", "mdio-bus");
+ dev_info(priv->dev, "%s disabled", "mdio-bus");
priv->mii_bus = NULL;
return err;
}