diff options
author | Huang Chao <chao7.huang@samsung.com> | 2014-06-30 14:15:35 +0800 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2014-07-03 09:54:41 +0900 |
commit | d100072801d89e34c221245100c1b84c69975aee (patch) | |
tree | bb6b7fca8593591551bcdccc55e7185acc3bc512 | |
parent | 973347097218a8b0c09854e73c3725a09f26dc46 (diff) | |
download | linux-3.10-d100072801d89e34c221245100c1b84c69975aee.tar.gz linux-3.10-d100072801d89e34c221245100c1b84c69975aee.tar.bz2 linux-3.10-d100072801d89e34c221245100c1b84c69975aee.zip |
ASoC: samsung: i2s: Fix the checked out code style problems
This patch just fix the code style issues about required space
missing and redundant line continuations have been checked out:
./scripts/checkpatch.pl -f ./sound/soc/samsung/i2s.c
ERROR: space required before the open brace '{'
\#1033: FILE: sound/soc/samsung/i2s.c:1033:
+ if (!IS_ERR(i2s->op_clk)){
WARNING: Avoid unnecessary line continuations
\#1225: FILE: sound/soc/samsung/i2s.c:1225:
+ dev_err(&pdev->dev, "idma address is not"\
total: 1 errors, 1 warnings, 1398 lines checked
./sound/soc/samsung/i2s.c has style problems, please review.
If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Change-Id: I51f2bf0f6b203613b3a81d604b69c6e08ed97507
Signed-off-by: Huang Chao <chao7.huang@samsung.com>
-rw-r--r-- | sound/soc/samsung/i2s.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index 0a0cdb12209..33121dd2aba 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c @@ -1030,7 +1030,7 @@ static int samsung_i2s_dai_remove(struct snd_soc_dai *dai) if (i2s->quirks & QUIRK_NEED_RSTCLR) writel(0, i2s->addr + I2SCON); - if (!IS_ERR(i2s->op_clk)){ + if (!IS_ERR(i2s->op_clk)) { clk_disable_unprepare(i2s->op_clk); clk_put(i2s->op_clk); } @@ -1222,8 +1222,7 @@ static int samsung_i2s_probe(struct platform_device *pdev) if (of_property_read_u32(np, "samsung,idma-addr", &idma_addr)) { if (quirks & QUIRK_SEC_DAI) { - dev_err(&pdev->dev, "idma address is not"\ - "specified"); + dev_err(&pdev->dev, "idma address is not specified"); return -EINVAL; } } |