]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: simplify phy_info handler 22008/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Fri, 13 Feb 2026 19:37:05 +0000 (20:37 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 16 Feb 2026 14:44:20 +0000 (15:44 +0100)
commit6d82a50575d516c04d1565b2953e9349a8e4eaaa
tree8fee6b4202c1d1ab10453d230f8f8a6a23e3c6ad
parent60d90f90171f957e6267414ddba662e80ab4aa20
realtek: mdio: simplify phy_info handler

Add return value to function and add an internal pr_warn().
This simplifies the callers and avoids duplicate coding.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22008
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto.c