On Fri, Jul 10, 2020 at 7:31 PM Calvin Johnson
wrote:
>
> Introduce device_mdiobus_register() to register mdiobus
> in cases of either DT or ACPI.
...
> +/**
> + * device_mdiobus_register - bring up all the PHYs on a given bus and
> + * attach them to bus. This handles both DT and ACPI methods.
Introduce device_mdiobus_register() to register mdiobus
in cases of either DT or ACPI.
Signed-off-by: Calvin Johnson
---
Changes in v5:
- add description
- clean up if else
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/net/phy/mdio_bus.c | 27 +++