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

From: Dmitry Torokhov
Date: Fri Oct 04 2019 - 19:14:01 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.

This depends on the new code that can be bound in
ib-fwnode-gpiod-get-index immutable branch of Linus' Walleij tree:

git pull git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git ib-fwnode-gpiod-get-index

I hope that it would be possible to pull in this immutable branch and
not wait until after 5.5 merge window.


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.581.g78d2f28ef7-goog