diff options
author | Frank Wunderlich | 2022-06-10 19:05:39 +0200 |
---|---|---|
committer | Jakub Kicinski | 2022-06-14 22:35:16 -0700 |
commit | 1f9a6abecf538cc73635f6082677a2f4dc9c89a4 (patch) | |
tree | d0a55aaa1c77b15b24c842694b006c5d8841cdd5 /drivers/bus | |
parent | 6e19bc26cccdd34739b8c42aba2758777d18b211 (diff) |
net: dsa: mt7530: get cpu-port via dp->cpu_dp instead of constant
Replace last occurences of hardcoded cpu-port by cpu_dp member of
dsa_port struct.
Now the constant can be dropped.
Suggested-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions