summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Chao <chao7.huang@samsung.com>2014-06-12 14:10:45 +0800
committerHuang Chao <chao7.huang@samsung.com>2014-06-12 14:16:41 +0800
commit1fe759d421562270166f6541a32654ce09784d48 (patch)
tree469d3c23198180633cf0af06aec1d0c42a0a3ea3
parent13d350d47280a83750eb5a76f1795db034930433 (diff)
downloadlinux-3.10-1fe759d421562270166f6541a32654ce09784d48.tar.gz
linux-3.10-1fe759d421562270166f6541a32654ce09784d48.tar.bz2
linux-3.10-1fe759d421562270166f6541a32654ce09784d48.zip
ASoC: samsung: odroidx2/u3: Fix the checking out code style problem
This patch fix the redundant line continuation problem checked over: ./scripts/checkpatch.pl -f ./sound/soc/samsung/odroidx2_max98090.c WARNING: Avoid unnecessary line continuations \#52: FILE: sound/soc/samsung/odroidx2_max98090.c:52: + ((substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? \ total: 0 errors, 1 warnings, 145 lines checked ./sound/soc/samsung/odroidx2_max98090.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: Idf5a7c8a57c06e5b35401c24141d740887c5d65c Signed-off-by: Huang Chao <chao7.huang@samsung.com>
-rw-r--r--sound/soc/samsung/odroidx2_max98090.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/odroidx2_max98090.c b/sound/soc/samsung/odroidx2_max98090.c
index 6ec35195e10..7d702640fcf 100644
--- a/sound/soc/samsung/odroidx2_max98090.c
+++ b/sound/soc/samsung/odroidx2_max98090.c
@@ -49,7 +49,7 @@ static int odroidx2_hw_params(struct snd_pcm_substream *substream,
dev_info(codec_dai->dev,
"HiFi DAI %s params ch %d, rate %d as i2s slave\n",
- ((substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? \
+ ((substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ?
"playback" : "capture"),
params_channels(params),
params_rate(params));