[U-Boot] [PATCH] gpio: uclass: Fix debug string

Mario Six mario.six at gdsys.cc
Wed Mar 28 12:39:01 UTC 2018


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

Signed-off-by: Mario Six <mario.six at gdsys.cc>
---
 drivers/gpio/gpio-uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c
index 9faf3357af..1fbfdef477 100644
--- a/drivers/gpio/gpio-uclass.c
+++ b/drivers/gpio/gpio-uclass.c
@@ -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);
-- 
2.16.1



More information about the U-Boot mailing list