[PATCH net-next v1 0/5] stmmac: cleanups for stmmac_mdio_reset

From: Martin Blumenstingl
Date: Sat Jun 15 2019 - 06:14:33 EST


This is a successor to my previous series "stmmac: honor the GPIO flags
for the PHY reset GPIO" from [0]. It contains only the "cleanup"
patches from that series plus some additional cleanups on top.

I broke out the actual GPIO flag handling into a separate patch which
is already part of net-next: "net: stmmac: use GPIO descriptors in
stmmac_mdio_reset" from [1]

I have build and runtime tested this on my ARM Meson8b Odroid-C1.


[0] https://patchwork.kernel.org/cover/10983801/
[1] https://patchwork.ozlabs.org/patch/1114798/


Martin Blumenstingl (5):
net: stmmac: drop redundant check in stmmac_mdio_reset
net: stmmac: use device_property_read_u32_array to read the reset
delays
net: stmmac: drop the reset GPIO from struct stmmac_mdio_bus_data
net: stmmac: drop the reset delays from struct stmmac_mdio_bus_data
net: stmmac: drop the phy_reset hook from struct stmmac_mdio_bus_data

.../net/ethernet/stmicro/stmmac/stmmac_mdio.c | 52 ++++++-------------
include/linux/stmmac.h | 5 --
2 files changed, 16 insertions(+), 41 deletions(-)

--
2.22.0