pmic: lp873x: Accommodate fdt_subnode_offset signature change
PATCH 1/1 pmic: lp873x: Accommodate fdt_subnode_offset signature change
Accommodate fdt_subnode_offset signature change.
--- drivers/power/pmic/lp873x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/pmic/lp873x.c +1 -1
@@ -51,7 +51,7 @@ static int lp873x_bind(struct udevice *dev)int children;int node = dev->of_offset; - regulators_node =fdt_subnode_offset (blob, node,"regulators" ); + regulators_node =fdt_subnode_offset (node, blob,"regulators" );if (regulators_node <=0 ) {printf ("%s: %s reg subnode not found!" , __func__, dev->name);
Signature · 1 line
1.9.1
PATCH 1/1 pmic: lp873x: Accommodate fdt_subnode_offset signature change
Hi Keerthy,
Quoted 12 lines · Keerthy
Accommodate
fdt_subnode_offsetsignature change.Signed-off-by Keerthy <[email protected]>--- drivers/power/pmic/lp873x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/power/pmic/lp873x.c +0
-0
drivers/power/pmic/lp873x.c static int lp873x_bind(struct udevice *dev) · line 54
Quoted 5 lines
drivers/power/pmic/lp873x.c +1
-1@@ -51,7 +51,7 @@ static int lp873x_bind(struct udevice *dev)int children;int node = dev->of_offset; - regulators_node =fdt_subnode_offset (blob, node,"regulators" ); + regulators_node =fdt_subnode_offset (node, blob,"regulators" );
I don't think the signature has changed on this one.
Quoted 6 lines
drivers/power/pmic/lp873x.c +0
-1if (regulators_node <=0 ) {printf ("%s: %s reg subnode not found!" , __func__, dev->name); --1.9.1
Regards,
Simon
PATCH 1/1 pmic: lp873x: Accommodate fdt_subnode_offset signature change
Quoted 18 lines · Simon Glass
Hi Keerthy,
Quoted 15 lines · Keerthy
Accommodate
fdt_subnode_offsetsignature change.Signed-off-by Keerthy <[email protected]>--- drivers/power/pmic/lp873x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/power/pmic/lp873x.c +0
-0@@ -51,7 +51,7 @@ static int lp873x_bind(struct udevice *dev)int children;int node = dev->of_offset;
Quoted 4 lines
drivers/power/pmic/lp873x.c static int lp873x_bind(struct udevice *dev) · line 54
Quoted 2 lines
drivers/power/pmic/lp873x.c +1
-1- regulators_node =fdt_subnode_offset (blob, node,"regulators" ); + regulators_node =fdt_subnode_offset (node, blob,"regulators" );I don't think the signature has changed on this one.
Ouch! I went through your patch again. Oversight. This is not needed. Palmas patch is good enough.
Thanks,
Keerthy
Quoted 11 lines
Quoted 7 lines
drivers/power/pmic/lp873x.c +0
-1if (regulators_node <=0 ) {printf ("%s: %s reg subnode not found!" , __func__, dev->name); --1.9.1
Regards,
Simon