Skip to content
Commit 5ffcc858 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d266f19f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment