]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpio/gpiolib-of.c
gpio: gpiolib-of.c: make error message more meaningful by adding the node name and...
[karo-tx-linux.git] / drivers / gpio / gpiolib-of.c
index 665f9530c950f96fd4cf54fb70c03edffbcc2ef2..ba9876ffb017ba3c8874512e73acbbf9c97d0cbb 100644 (file)
@@ -76,7 +76,8 @@ int of_get_named_gpio_flags(struct device_node *np, const char *propname,
        ret = of_parse_phandle_with_args(np, propname, "#gpio-cells", index,
                                         &gg_data.gpiospec);
        if (ret) {
-               pr_debug("%s: can't parse gpios property\n", __func__);
+               pr_debug("%s: can't parse gpios property of node '%s[%d]'\n",
+                       __func__, np->full_name, index);
                return ret;
        }