projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ae3cf
)
ASoC: omap: Remove unnecessary 'out of memory' message
author
Adriana Constantinescu
<
[email protected]
>
Sun, 26 Feb 2017 19:12:06 +0000
(21:12 +0200)
committer
Mark Brown
<
[email protected]
>
Tue, 7 Mar 2017 13:29:09 +0000
(14:29 +0100)
Out of memory message detected using checkpatch.pl
Signed-off-by: Adriana Constantinescu <
[email protected]
>
Acked-by: Jarkko Nikula <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/omap/rx51.c
patch
|
blob
|
history
diff --git
a/sound/soc/omap/rx51.c
b/sound/soc/omap/rx51.c
index a76845748a103447e039ee4db94cf3f8abe10c93..086b59b7b6d78226f0c7c5e5b09dabdfc29e0365 100644
(file)
--- a/
sound/soc/omap/rx51.c
+++ b/
sound/soc/omap/rx51.c
@@
-433,10
+433,9
@@
static int rx51_soc_probe(struct platform_device *pdev)
}
pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL);
- if (pdata == NULL) {
- dev_err(card->dev, "failed to create private data\n");
+ if (pdata == NULL)
return -ENOMEM;
- }
+
snd_soc_card_set_drvdata(card, pdata);
pdata->tvout_selection_gpio = devm_gpiod_get(card->dev,