]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit413d833c1671e6644d10db1fc85d70f4c242ebc9
tree66c066bc1dec2110c0f0171eb850c9d37502d359
parentcf523b91e307ce9ee32a35938b7146e1be5a131b
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