Thread (46 messages) flat view 46 messages, 7 authors, 2024-01-10

Re: [PATCH net-next 07/10] net: dsa: qca8k: consolidate calls to a single devm_of_mdiobus_register()

From: Christian Marangi <ansuelsmth@gmail.com>
Date: 2024-01-04 23:13:05

On Thu, Jan 04, 2024 at 04:00:34PM +0200, Vladimir Oltean wrote:
__of_mdiobus_register() already calls __mdiobus_register() if the
OF node provided as argument is NULL. We can take advantage of that
and simplify the 2 code path, calling devm_of_mdiobus_register() only
once for both cases.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Christian Marangi <ansuelsmth@gmail.com>

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