mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-24 23:37:42 +04:00
Convert switch register accesses in the phylink MAC configuration and link callbacks to the shared regmap. Use regmap_update_bits() for masked updates and regmap_read()/regmap_write() when assembling full force-mode values. The callbacks are void, so leave regmap return values unchecked to match the existing callback behavior. Assisted-by: ChatGPT (OpenAI GPT-5.6 Sol) Link: https://github.com/openwrt/openwrt/pull/25118 Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>