]> git.baikalelectronics.ru Git - kernel.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)
commita06de5ff3f29e10981e1bf9cc3421f9365f996fb
tree2a88d859ace28417f566ffaa2b864c7da4e2100e
parent6ba3dc8febd9bb1e1eb450d9af154f24998b78b5
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