]> 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)
commite2e923696da42307a6674e784c9d93c3cda109d0
tree2a88d859ace28417f566ffaa2b864c7da4e2100e
parentacbf86295c3f7d7ecd1f9f29d77172f7aaf8ca68
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