[PATCH v2 0/3] net: phy: switch to using fwnode_gpiod_get_index

From: Dmitry Torokhov
Date: Mon Oct 14 2019 - 13:40:29 EST


This series switches phy drivers form using fwnode_get_named_gpiod() and
gpiod_get_from_of_node() that are scheduled to be removed in favor
of fwnode_gpiod_get_index() that behaves more like standard
gpiod_get_index() and will potentially handle secondary software
nodes in cases we need to augment platform firmware.

Linus, as David would prefer not to pull in the immutable branch but
rather route the patches through the tree that has the new API, could
you please take them with his ACKs?

Thanks!

v2:
- rebased on top of Linus' W devel branch
- added David's ACKs

Dmitry Torokhov (3):
net: phylink: switch to using fwnode_gpiod_get_index()
net: phy: fixed_phy: fix use-after-free when checking link GPIO
net: phy: fixed_phy: switch to using fwnode_gpiod_get_index

drivers/net/phy/fixed_phy.c | 11 ++++-------
drivers/net/phy/phylink.c | 4 ++--
2 files changed, 6 insertions(+), 9 deletions(-)

--
2.23.0.700.g56cf767bdb-goog