From b328f118aeb79f443eb962d9efaea053d22f3e27 Mon Sep 17 00:00:00 2001 From: Huang Chao Date: Mon, 30 Jun 2014 14:15:35 +0800 Subject: 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 --- sound/soc/samsung/i2s.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sound') 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; } } -- cgit v1.2.3