Skip to contentSkip to conversation

pmic: palmas: Accommodate fdt_subnode_offset signature change

PATCH Superseded Keerthy 3 participants 3 messages Oct 13, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Keerthy

author
#0 lore raw

PATCH 1/1 pmic: palmas: Accommodate fdt_subnode_offset signature change

Accommodate fdt_subnode_offset signature change.

---
 drivers/power/pmic/palmas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/pmic/palmas.c +1 -1
index 6c79a93..0ab425e 100644
@@ -52,7 +52,7 @@ static int palmas_bind(struct udevice *dev)
 	int node = dev->of_offset;
 	int subnode, len;
 
-	fdt_for_each_subnode(blob, subnode, node) {
+	fdt_for_each_subnode(subnode, blob, node) {
 		const char *name;
 		char *temp;
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/1 pmic: palmas: Accommodate fdt_subnode_offset signature change

Quoted 9 lines · Simon Glass
Quoted 6 lines · Keerthy

Accommodate fdt_subnode_offset signature change.

---
 drivers/power/pmic/palmas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks just noticed that $Subject also needs to reflect the right function name. Sending a v2 with that changed and your Ack.

Quoted 1 line