]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: rename read/write functions 23197/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sat, 2 May 2026 10:14:31 +0000 (12:14 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 2 May 2026 23:43:48 +0000 (01:43 +0200)
commita0c7d5ecff4eb4d8760207d9fd71fbf154469bf5
tree26db9c567cc9553ecac9c2a21951d27d60096b1b
parent79a6d2aab21b62c644d45eb4807ed99edfbbb7a9
realtek: mdio: rename read/write functions

Harmonize the read/write functions for better readability. This
aligns with the naming convention of the upstream rtl9300 mdio
driver.

read_phy -> read_c22
read_phy_mmd -> read_c45
write_phy -> write_c22
write_phy_mmd -> write_c45

Swap order of c22/c45 functions to keep structures sorted
alphabetically.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/23197
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.18/drivers/net/mdio/mdio-realtek-otto.c