Merge branch 'mailbox-for-next' of git://git.linaro.org/landing-teams/working/fujitsu...
[firefly-linux-kernel-4.4.55.git] / drivers / pinctrl / pinconf-generic.c
index b5fbfb3584d98c7d88eff8400b115b3de80ec130..e63ad9fbd388a79c1afe0f1b4a2ff99e19a11574 100644 (file)
@@ -307,14 +307,16 @@ int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev,
        if (ret < 0) {
                /* EINVAL=missing, which is fine since it's optional */
                if (ret != -EINVAL)
-                       dev_err(dev, "could not parse property function\n");
+                       dev_err(dev, "%s: could not parse property function\n",
+                               of_node_full_name(np));
                function = NULL;
        }
 
        ret = pinconf_generic_parse_dt_config(np, pctldev, &configs,
                                              &num_configs);
        if (ret < 0) {
-               dev_err(dev, "could not parse node property\n");
+               dev_err(dev, "%s: could not parse node property\n",
+                       of_node_full_name(np));
                return ret;
        }