diff options
author | Huang Chao <chao7.huang@samsung.com> | 2014-06-30 14:15:35 +0800 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:59:55 +0900 |
commit | b328f118aeb79f443eb962d9efaea053d22f3e27 (patch) | |
tree | ced8618eb374af89db267e1a24adb7b027eff893 /sound | |
parent | a86e70d8b9917bdaadb6e2d11080d933faddc5de (diff) | |
download | linux-3.10-b328f118aeb79f443eb962d9efaea053d22f3e27.tar.gz linux-3.10-b328f118aeb79f443eb962d9efaea053d22f3e27.tar.bz2 linux-3.10-b328f118aeb79f443eb962d9efaea053d22f3e27.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>
Diffstat (limited to 'sound')
-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 4d26f605e38..60b67256e3a 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c @@ -1026,7 +1026,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); } @@ -1218,8 +1218,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; } } |