Fix the use of log_msg_ret() and add dev_xxx() for error reporting. Register mdio subnode as a mdio bus device for hifemac.
Signed-off-by: Yang Xiwen <forbidden...@outlook.com> --- Yang Xiwen (3): net: hifemac_mdio: use log_msg_ret() correctly, report error by dev_err() net: hifemac: fix log reporting net: hifemac: register MDIO bus device for subnode drivers/net/hifemac.c | 138 +++++++++++++++++++++++++++++++++------------ drivers/net/hifemac_mdio.c | 11 +++- 2 files changed, 109 insertions(+), 40 deletions(-) --- base-commit: f7cca7ccc5117eaafcc2bde91ad1bed6fee7cfc3 change-id: 20240119-net-72a32675eeb4 Best regards, -- Yang Xiwen <forbidden...@outlook.com>