projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50e6c71
)
ASoC: simple-card: Simplify error msg in simple_card_dai_link_of()
author
Nicolin Chen
<Guangyu.Chen@freescale.com>
Thu, 24 Apr 2014 11:13:59 +0000
(19:13 +0800)
committer
Mark Brown
<broonie@linaro.org>
Thu, 24 Apr 2014 12:20:11 +0000
(13:20 +0100)
It would look better to use prop instead.
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/generic/simple-card.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/generic/simple-card.c
b/sound/soc/generic/simple-card.c
index 383a4a18d51fe4a1c5c7447dbe0955f844c4cfe0..c091557666d500e60ba0faf07aead3da1f935815 100644
(file)
--- 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,
np = of_get_child_by_name(node, prop);
if (!np) {
ret = -EINVAL;
- dev_err(dev, "%s: Can't find simple-audio-card,cpu DT node\n",
- __func__);
+ dev_err(dev, "%s: Can't find %s DT node\n", __func__, prop);
goto dai_link_of_err;
}
@@
-198,8
+197,7
@@
static int simple_card_dai_link_of(struct device_node *node,
np = of_get_child_by_name(node, prop);
if (!np) {
ret = -EINVAL;
- dev_err(dev, "%s: Can't find simple-audio-card,codec DT node\n",
- __func__);
+ dev_err(dev, "%s: Can't find %s DT node\n", __func__, prop);
goto dai_link_of_err;
}