net: phy: fixed_phy: switch to using fwnode_gpiod_get_index
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 3 Jan 2020 01:03:20 +0000 (17:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jan 2020 22:27:01 +0000 (14:27 -0800)
commit5ffcc85814f27e04c1c0180bf7a3b7b76bb776c8
tree66c066bc1dec2110c0f0171eb850c9d37502d359
parentd266f19f3ae7fbcaf92229639b78d2110ae44f33
net: phy: fixed_phy: switch to using fwnode_gpiod_get_index

gpiod_get_from_of_node() is being retired in favor of
[devm_]fwnode_gpiod_get_index(), that behaves similar to
[devm_]gpiod_get_index(), but can work with arbitrary firmware node. It
will also be able to support secondary software nodes.

Let's switch this driver over.

Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/fixed_phy.c