]> git.ipfire.org Git - thirdparty/linux.git/commit
net: mdio: use device_set_node() to setup both fwnode and of
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 17 Jun 2021 12:29:05 +0000 (15:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jun 2021 19:06:52 +0000 (12:06 -0700)
commit7e33d84db1a8a6c3000e9b02c074c17819680755
tree2a88d859ace28417f566ffaa2b864c7da4e2100e
parent43e76d463c09a0272b84775bcc727c1eb8b384b2
net: mdio: use device_set_node() to setup both fwnode and of

Use the newly introduced helper to setup both the of_node and the
fwnode for a given device.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mdio/fwnode_mdio.c
drivers/net/mdio/of_mdio.c
drivers/net/phy/mdio_bus.c