[PATCH net-next v4 3/7] net: axienet: Use MDIO bus device in prints
Sean Anderson
sean.anderson at linux.dev
Tue Aug 5 14:15:59 PDT 2025
On 8/5/25 17:07, Andrew Lunn wrote:
> 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?
Whoops, this was left over from doing s/lp/cp/ and then reverting
it when I decided that there would be too much diffstat. Will fix for v5.
--Sean
More information about the linux-arm-kernel
mailing list