[RFC v2 3/4] net: dsa: mt7530: get cpu-port via dp->cpu_dp instead of constant

Vladimir Oltean olteanv at gmail.com
Wed May 4 08:22:16 PDT 2022


On Sat, Apr 30, 2022 at 03:03:46PM +0200, 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>



More information about the linux-arm-kernel mailing list