phy: meson-axg-mipi: Access parent ofnode through dev_ofnode()
With commit84a42ae366
("dm: core: Rename device node to indicate it is private") and commitf10643cf8a
("dm: core: Access device ofnode through functions") accesses to the "node" member were replaced with dev_ofnode(). Also apply that replacement here. Fixes:4547551aa0
("phy: Add Amlogic AXG MIPI PCIe Analog PHY driver") Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
a41862d25e
commit
a3f1eaa793
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue