realtek: pcs: rtl930x: use regmap for register access
authorJonas Jelonek <[email protected]>
Wed, 22 Oct 2025 08:44:41 +0000 (08:44 +0000)
committerRobert Marko <[email protected]>
Mon, 27 Oct 2025 12:03:46 +0000 (13:03 +0100)
commitd877600aef4a565e82a472c93ec9343d619b4fc4
tree99f867e5db33332be9c5234fd1c5314ab1b84d48
parent9e0cba597ac78a4e4a190ea840f680362193ee87
realtek: pcs: rtl930x: use regmap for register access

Use regmap to access registers in the global register space so we don't
have to use the old macros sw_r32/sw_w32 anymore.

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