aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/devicetree.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pinctrl/devicetree.c')
-rw-r--r--drivers/pinctrl/devicetree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pinctrl/devicetree.c b/drivers/pinctrl/devicetree.c
index 5ef2feb44395..fcb1de45473c 100644
--- a/drivers/pinctrl/devicetree.c
+++ b/drivers/pinctrl/devicetree.c
@@ -121,11 +121,11 @@ static int dt_to_map_one_config(struct pinctrl *p, const char *statename,
121 for (;;) { 121 for (;;) {
122 np_pctldev = of_get_next_parent(np_pctldev); 122 np_pctldev = of_get_next_parent(np_pctldev);
123 if (!np_pctldev || of_node_is_root(np_pctldev)) { 123 if (!np_pctldev || of_node_is_root(np_pctldev)) {
124 dev_err(p->dev, "could not find pctldev for node %s\n", 124 dev_info(p->dev, "could not find pctldev for node %s, deferring probe\n",
125 np_config->full_name); 125 np_config->full_name);
126 of_node_put(np_pctldev); 126 of_node_put(np_pctldev);
127 /* FIXME: This should trigger deferrered probe */ 127 /* OK let's just assume this will appear later then */
128 return -ENODEV; 128 return -EPROBE_DEFER;
129 } 129 }
130 pctldev = find_pinctrl_by_of_node(np_pctldev); 130 pctldev = find_pinctrl_by_of_node(np_pctldev);
131 if (pctldev) 131 if (pctldev)