gpio: uclass: Fix debug string
authorMario Six <mario.six@gdsys.cc>
Wed, 28 Mar 2018 12:39:01 +0000 (14:39 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 7 Apr 2018 00:45:44 +0000 (20:45 -0400)
A debug string still has the old name of a function being called; update
it.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/gpio/gpio-uclass.c

index 9faf3357af8bad2dad5a6a02eee2017df7d542b8..1fbfdef4771041db657a9302f7f7e4cd682bdbb7 100644 (file)
@@ -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);