]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: simplify regmap_update_bits 23039/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 21 Apr 2026 19:50:17 +0000 (21:50 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 22 Apr 2026 15:01:49 +0000 (17:01 +0200)
commit77ddfcfbcb5b913f6b15b924957b199bfade4ef7
tree7c1388e4196bb9e2fc762bca3a6403a116e97285
parent6ce041be4bb6fc404e6e815c9bec3e16be848abf
realtek: mdio: simplify regmap_update_bits

Some occurrences of regmap_update_bits can be simplified by
using other regmap commands. Use set_bits/clear_bits/assign_bits
for better readability.

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