From: Ioana Ciornei <ioana.ciornei@nxp.com>
The first patch in this series fixes a bug introduced by mistake in the
previous ACPI MDIO patch set.
The next two patches are adding a new helper which takes a device and a
fwnode_handle and populates both the of_node and fwnode so that we make
sure that a bug like this does not happen anymore.
Also, the new helper is used in the MDIO area.
Ioana Ciornei (3):
net: mdio: setup of_node for the MDIO device
driver core: add a helper to setup both the of_node and fwnode of a
device
net: mdio: use device_set_node() to setup both fwnode and of
drivers/base/core.c | 7 +++++++
drivers/net/mdio/fwnode_mdio.c | 2 +-
drivers/net/mdio/of_mdio.c | 9 ++++-----
drivers/net/phy/mdio_bus.c | 3 +--
include/linux/device.h | 1 +
5 files changed, 14 insertions(+), 8 deletions(-)
--
2.31.1