realtek: mdio: configure bus read/write only once.
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Wed, 24 Dec 2025 11:19:02 +0000 (12:19 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 29 Dec 2025 11:57:05 +0000 (12:57 +0100)
commit3fb1c9c6259ef1d4916c7f1f40988a5e4275337c
tree890a4ce28ef292caf8cda0c8cd76ce610fcac2bc
parent89f56789482675efd406575103b9333ecc098157
realtek: mdio: configure bus read/write only once.

For all families the driver uses the same read/write functions.
Drop the duplicate per-family initialization.

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