diff options
-rw-r--r-- | sound/soc/generic/simple-card.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index 383a4a18d51f..c091557666d5 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c | |||
@@ -166,8 +166,7 @@ static int simple_card_dai_link_of(struct device_node *node, | |||
166 | np = of_get_child_by_name(node, prop); | 166 | np = of_get_child_by_name(node, prop); |
167 | if (!np) { | 167 | if (!np) { |
168 | ret = -EINVAL; | 168 | ret = -EINVAL; |
169 | dev_err(dev, "%s: Can't find simple-audio-card,cpu DT node\n", | 169 | dev_err(dev, "%s: Can't find %s DT node\n", __func__, prop); |
170 | __func__); | ||
171 | goto dai_link_of_err; | 170 | goto dai_link_of_err; |
172 | } | 171 | } |
173 | 172 | ||
@@ -198,8 +197,7 @@ static int simple_card_dai_link_of(struct device_node *node, | |||
198 | np = of_get_child_by_name(node, prop); | 197 | np = of_get_child_by_name(node, prop); |
199 | if (!np) { | 198 | if (!np) { |
200 | ret = -EINVAL; | 199 | ret = -EINVAL; |
201 | dev_err(dev, "%s: Can't find simple-audio-card,codec DT node\n", | 200 | dev_err(dev, "%s: Can't find %s DT node\n", __func__, prop); |
202 | __func__); | ||
203 | goto dai_link_of_err; | 201 | goto dai_link_of_err; |
204 | } | 202 | } |
205 | 203 | ||