Re: [PATCH 1/1] net: mdio-mux: add mdio_mux parameter to mdio_mux_init()

2017-09-04 Thread Florian Fainelli
On 09/04/2017 09:30 AM, Corentin Labbe wrote: > mdio_mux_init() use the parameter dev for two distinct thing: > 1) Have a device for all devm_ functions > 2) Get device_node from it > > Since it is two distinct purpose, this patch add a parameter mdio_mux > that is linked to task 2. > > This will

Re: [PATCH 1/1] net: mdio-mux: add mdio_mux parameter to mdio_mux_init()

2017-09-04 Thread Florian Fainelli
On 09/04/2017 09:30 AM, Corentin Labbe wrote: > mdio_mux_init() use the parameter dev for two distinct thing: > 1) Have a device for all devm_ functions > 2) Get device_node from it > > Since it is two distinct purpose, this patch add a parameter mdio_mux > that is linked to task 2. > > This will