aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-of.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
-rw-r--r--drivers/gpio/gpiolib-of.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c
index 665f9530c950..ba9876ffb017 100644
--- a/drivers/gpio/gpiolib-of.c
+++ b/drivers/gpio/gpiolib-of.c
@@ -76,7 +76,8 @@ int of_get_named_gpio_flags(struct device_node *np, const char *propname,
76 ret = of_parse_phandle_with_args(np, propname, "#gpio-cells", index, 76 ret = of_parse_phandle_with_args(np, propname, "#gpio-cells", index,
77 &gg_data.gpiospec); 77 &gg_data.gpiospec);
78 if (ret) { 78 if (ret) {
79 pr_debug("%s: can't parse gpios property\n", __func__); 79 pr_debug("%s: can't parse gpios property of node '%s[%d]'\n",
80 __func__, np->full_name, index);
80 return ret; 81 return ret;
81 } 82 }
82 83