diff options
author | Mengyuan Lou <mengyuanlou@net-swift.com> | 2023-01-16 18:38:39 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-17 19:29:59 -0800 |
commit | 860edff562e7e6d8af0ba89ca7b41506e56be430 (patch) | |
tree | c657839ca766ebb8aec39cf6aea05fc9a5153224 /drivers/soc/pxa | |
parent | f3a1e0c896e81f766d8677c8c07c1875ad14272b (diff) |
net: wangxun: clean up the code
Convert various mult-bit fields to be defined using GENMASK/FIELD_PREP.
Simplify the code with the ternary operator.
Signed-off-by: Mengyuan Lou <mengyuanlou@net-swift.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230116103839.84087-1-mengyuanlou@net-swift.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/soc/pxa')
0 files changed, 0 insertions, 0 deletions