[PATCH v4 4/6] net: dsa: mt7530: get cpu-port via dp->cpu_dp instead of constant
Florian Fainelli
f.fainelli at gmail.com
Tue Jun 14 15:36:10 PDT 2022
On 6/10/22 10:05, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w at public-files.de>
>
> 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 at gmail.com>
> Signed-off-by: Frank Wunderlich <frank-w at public-files.de>
> Reviewed-by: Vladimir Oltean <olteanv at gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli at gmail.com>
--
Florian
More information about the Linux-mediatek
mailing list