Re: [PATCH net-next v2 1/7] net: macb: use device-managed devm_mdiobus_alloc()

2020-07-23 Thread Florian Fainelli
On 7/21/20 10:13 AM, Codrin Ciubotariu wrote: > Use the device-managed variant for the allocating the MDIO bus. This > cleans-up the code a little on the remove and error paths. > > Signed-off-by: Codrin Ciubotariu Reviewed-by: Florian Fainelli -- Florian

[PATCH net-next v2 1/7] net: macb: use device-managed devm_mdiobus_alloc()

2020-07-21 Thread Codrin Ciubotariu
Use the device-managed variant for the allocating the MDIO bus. This cleans-up the code a little on the remove and error paths. Signed-off-by: Codrin Ciubotariu --- Changes in v2: - none drivers/net/ethernet/cadence/macb_main.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-)