]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: dsa: lantiq_gswip: optimize regmap_write_bits() statements
authorDaniel Golle <daniel@makrotopia.org>
Tue, 21 Oct 2025 11:17:14 +0000 (12:17 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 24 Oct 2025 01:53:06 +0000 (18:53 -0700)
commit1d88358303fc81896b92e50eb732b726e7b88ee6
tree64e246123c9fb8af06dbd8153d07938ee55d07b8
parent748b0aebd48f77f147418a6280a3792a487adcc0
net: dsa: lantiq_gswip: optimize regmap_write_bits() statements

Further optimize the previous naive conversion of the *_mask() accessor
functions to regmap_write_bits by manually removing redundant mask
operands.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by; Hauke Mehrtens <hauke@hauke-m.de>:
Acked-by; Hauke Mehrtens <hauke@hauke-m.de>:
Link: https://patch.msgid.link/fce2f964b22fe3efc234c664b1e50de28dddf512.1761045000.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/lantiq/lantiq_gswip.c