[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210617122905.1735330-1-ciorneiioana@gmail.com>
Date: Thu, 17 Jun 2021 15:29:02 +0300
From: Ioana Ciornei <ciorneiioana@...il.com>
To: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org
Cc: andrew@...n.ch, hkallweit1@...il.com, linux@...linux.org.uk,
gregkh@...uxfoundation.org, rafael@...nel.org,
grant.likely@....com, calvin.johnson@....nxp.com,
Ioana Ciornei <ioana.ciornei@....com>
Subject: [PATCH net-next v2 0/3] net: mdio: setup both fwnode and of_node
From: Ioana Ciornei <ioana.ciornei@....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
Powered by blists - more mailing lists