mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
gpio: gpiolib-of.c: make error message more meaningful by adding the node name and index
Signed-off-by: Lothar Waßmann <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
e56aee1897
commit
eddf8176b5
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue