diff options
author | Ido Schimmel <idosch@nvidia.com> | 2021-09-15 12:13:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-15 17:17:16 +0200 |
commit | 8f4ebdb0a2744557a95810787126eb0555e7424b (patch) | |
tree | 3cc884ab265b956cf718e9175aa8665a8ea4708d /net | |
parent | mlxsw: reg: Add fields to PMAOS register (diff) | |
download | linux-8f4ebdb0a2744557a95810787126eb0555e7424b.tar.xz linux-8f4ebdb0a2744557a95810787126eb0555e7424b.zip |
mlxsw: Make PMAOS pack function more generic
The PMAOS register has enable bits (e.g., PMAOS.ee) that allow changing
only a subset of the fields, which is exactly what subsequent patches
will need to do. Instead of passing multiple arguments to its pack
function, only pass the module index and let the rest be set by the
different callers.
No functional changes intended.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions