Re: [PATCH V2 2/3] net: bgmac: drop struct bcma_mdio we don't need anymore

2017-01-31 Thread Florian Fainelli
On 01/28/2017 01:08 PM, Rafał Miłecki wrote: > From: Rafał Miłecki > > Adding struct bcma_mdio was a workaround for bcma code not having access > to the struct bgmac used in the core code. Now we don't duplicate this > struct we can just use it internally in bcma code. > > This simplifies code &

[PATCH V2 2/3] net: bgmac: drop struct bcma_mdio we don't need anymore

2017-01-28 Thread Rafał Miłecki
From: Rafał Miłecki Adding struct bcma_mdio was a workaround for bcma code not having access to the struct bgmac used in the core code. Now we don't duplicate this struct we can just use it internally in bcma code. This simplifies code & allows access to all bgmac driver details from all places