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 9faf335..1fbfdef 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);