Re: [net-next PATCH v3 12/15] net/fsl: Use fwnode_mdiobus_register()

From: Andy Shevchenko
Date: Tue Jan 12 2021 - 10:53:28 EST


On Tue, Jan 12, 2021 at 3:43 PM Calvin Johnson
<calvin.johnson@xxxxxxxxxxx> wrote:
>
> fwnode_mdiobus_register() internally takes care of both DT
> and ACPI cases to register mdiobus. Replace existing
> of_mdiobus_register() with fwnode_mdiobus_register().
>
> Note: For both ACPI and DT cases, endianness of MDIO controller
> need to be specified using "little-endian" property.


> + /* For both ACPI and DT cases, endianness of MDIO controller
> + * need to be specified using "little-endian" property.

needs

> + */

...

> priv->has_a011043 = device_property_read_bool(&pdev->dev,
> "fsl,erratum-a011043");
> -

Unrelated change.

--
With Best Regards,
Andy Shevchenko