Re: [PATCH] net: stmmac: move reset gpio parse & request to stmmac_mdio_register

From: David Miller
Date: Wed May 22 2019 - 20:33:02 EST


From: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
Date: Wed, 22 May 2019 10:06:56 +0000

> Move the reset gpio dt parse and request to stmmac_mdio_register(),
> thus makes the mdio code straightforward.
>
> This patch also replace stack var mdio_bus_data with data to simplify
> the code.
>
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>

Please rebase this on net-next when I next merge net into net-next as
this is a cleanup and therefore not appropriate for net.