Skip to contentSkip to conversation

gpio: uclass: Fix debug string

PATCH In review Mario Six 3 participants 3 messages Mar 28, 2018 – Apr 7, 2018 GPIO

lore
Share & tools
lore

Mario Six

author
#0 lore raw

PATCH 1/1 gpio: uclass: Fix debug string

A debug string still has the old name of a function being called; update it.

---
 drivers/gpio/gpio-uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-uclass.c +1 -1
index 9faf3357af..1fbfdef477 100644
@@ -655,7 +655,7 @@ static int gpio_request_tail(int ret, ofnode node,
 	ret = uclass_get_device_by_ofnode(UCLASS_GPIO, args->node,
 					  &desc->dev);
 	if (ret) {
-		debug("%s: uclass_get_device_by_of_offset failed\n", __func__);
+		debug("%s: uclass_get_device_by_ofnode failed\n", __func__);
 		goto err;
 	}
 	ret = gpio_find_and_xlate(desc, args);
Signature · 1 line
2.16.1
#2 lore raw
In reply to Mario Six
Quoted 5 lines · Mario Six

A debug string still has the old name of a function being called; update it.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180407/20b1a083/attachment.sig>