]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: airoha: Rely __field_prep for non-constant masks
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 4 Mar 2026 10:56:47 +0000 (11:56 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Mar 2026 03:05:52 +0000 (19:05 -0800)
commit7600fb3b41dd6ab65ed61169df1b6099044edf97
tree7cb7482ee4f2ff4ecc3604e363610f5856de2418
parent8844de1037dd5fd39f4843cd58bdac763f6edaca
net: airoha: Rely __field_prep for non-constant masks

Rely on __field_prep macros for non-constant masks preparing the values
for register updates instead of open-coding.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260304-airoha-__field_prep-v1-1-b185facc4e2f@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/airoha/airoha_eth.c