[PATCH net-next v4 3/7] net: axienet: Use MDIO bus device in prints
Andrew Lunn
andrew at lunn.ch
Tue Aug 5 14:07:13 PDT 2025
On Tue, Aug 05, 2025 at 11:34:52AM -0400, Sean Anderson wrote:
> For clarity and to remove the dependency on the parent netdev, use the
> MDIO bus device in print statements.
> @@ -186,28 +187,31 @@ static int axienet_mdio_enable(struct axienet_local *lp, struct device_node *np)
> /* Legacy fallback: detect CPU clock frequency and use as AXI
> * bus clock frequency. This only works on certain platforms.
> */
> - np1 = of_find_node_by_name(NULL, "cpu");
> + np1 = of_find_node_by_name(NULL, "lpu");
There is nothing about dev in this change?
Andrew
More information about the linux-arm-kernel
mailing list