realtek: pcs: rtl931x: use regmap for register access calls
authorJonas Jelonek <[email protected]>
Thu, 16 Oct 2025 16:51:23 +0000 (16:51 +0000)
committerHauke Mehrtens <[email protected]>
Sun, 19 Oct 2025 21:49:56 +0000 (23:49 +0200)
commit1089e3c69606d5e06de8eaa16520de1f7b640e42
treec6641f6a03ce327e2b38413305a1b54615332de8
parentddf94f74899fb2584aef3105d5c737ed3ef80c2b
realtek: pcs: rtl931x: use regmap for register access calls

Replaces the "old" way of accessing registers using the macros
sw_r32/sw_w32 from mach-rtl83xx.h. The "new" way to access register is
through the regmap API.

Signed-off-by: Jonas Jelonek <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20369
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c