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

Andy Shevchenko andy.shevchenko at gmail.com
Tue Jan 12 10:53:23 EST 2021


On Tue, Jan 12, 2021 at 3:43 PM Calvin Johnson
<calvin.johnson at oss.nxp.com> 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



More information about the linux-arm-kernel mailing list