[net-next PATCH v5 01/15] net: dsa: qca8k: move qca8k_port_to_phy() to header

Michal Kubiak michal.kubiak at intel.com
Mon Mar 20 09:32:15 PDT 2023


On Sun, Mar 19, 2023 at 08:18:00PM +0100, Christian Marangi wrote:
> Move qca8k_port_to_phy() to qca8k header as it's useful for future
> reference in Switch LEDs module since the same logic is applied to get
> the right index of the switch port.
> Make it inline as it's simple function that just decrease the port.
> 
> Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
> Reviewed-by: Andrew Lunn <andrew at lunn.ch>
> ---


Reviewed-by: Michal Kubiak <michal.kubiak at intel.com>



More information about the linux-arm-kernel mailing list