提交 a3f1eaa7 编写于 作者: A Alper Nebi Yasak 提交者: Neil Armstrong

phy: meson-axg-mipi: Access parent ofnode through dev_ofnode()

With commit 84a42ae3 ("dm: core: Rename device node to indicate it
is private") and commit f10643cf ("dm: core: Access device ofnode
through functions") accesses to the "node" member were replaced with
dev_ofnode(). Also apply that replacement here.

Fixes: 4547551a ("phy: Add Amlogic AXG MIPI PCIe Analog PHY driver")
Signed-off-by: NAlper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: NSimon Glass <sjg@chromium.org>
Signed-off-by: NNeil Armstrong <narmstrong@baylibre.com>
上级 a41862d2
......@@ -211,7 +211,7 @@ int meson_axg_mipi_pcie_analog_probe(struct udevice *dev)
{
struct phy_meson_axg_mipi_pcie_analog_priv *priv = dev_get_priv(dev);
priv->regmap = syscon_node_to_regmap(dev_get_parent(dev)->node);
priv->regmap = syscon_node_to_regmap(dev_ofnode(dev_get_parent(dev)));
if (IS_ERR(priv->regmap))
return PTR_ERR(priv->regmap);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册