Thread (19 messages) 19 messages, 2 authors, 2023-03-10

Re: [net-next PATCH v2 01/14] net: dsa: qca8k: move qca8k_port_to_phy() to header

From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-03-09 23:59:04
Also in: linux-arm-kernel, linux-arm-msm, linux-devicetree, linux-leds, lkml

On Thu, Mar 09, 2023 at 11:35:11PM +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@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help