The naming is different than the Linux driver and was only chosen for symmetry with device_d::device_node. Now that this is renamed to device:of_node, follow suite in the barebox driver. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/regulator/scmi-regulator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/scmi-regulator.c b/drivers/regulator/scmi-regulator.c index 22813ce66248..2a007ac620a1 100644 --- a/drivers/regulator/scmi-regulator.c +++ b/drivers/regulator/scmi-regulator.c @@ -44,7 +44,7 @@ struct scmi_regulator { struct scmi_device *sdev; struct scmi_protocol_handle *ph; struct regulator_dev rdev; - struct device_node *device_node; + struct device_node *of_node; struct scmi_reg_desc sdesc; }; @@ -232,7 +232,7 @@ static int scmi_regulator_common_init(struct scmi_regulator *sreg) */ if (vinfo->negative_volts_allowed) { dev_warn(dev, "Negative voltages NOT supported...skip %s\n", - sreg->device_node->full_name); + sreg->of_node->full_name); return -EOPNOTSUPP; } @@ -278,7 +278,7 @@ static int process_scmi_regulator_of_node(struct scmi_device *sdev, rinfo->sregv[dom]->ph = ph; /* get hold of good nodes */ - rinfo->sregv[dom]->device_node = np; + rinfo->sregv[dom]->of_node = np; dev_dbg(&sdev->dev, "Found SCMI Regulator entry -- OF node [%d] -> %s\n", -- 2.30.2