diff options
author | Huang Chao <chao7.huang@samsung.com> | 2014-06-12 14:10:45 +0800 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:59:48 +0900 |
commit | b29158fcdd959d808b84cae58c738a9d3d8f0b9c (patch) | |
tree | 879c91abcf51108d573bdadc88265f3e456b4a95 /sound | |
parent | 8c00407184966bc3b121878a2e69303587389331 (diff) | |
download | linux-3.10-b29158fcdd959d808b84cae58c738a9d3d8f0b9c.tar.gz linux-3.10-b29158fcdd959d808b84cae58c738a9d3d8f0b9c.tar.bz2 linux-3.10-b29158fcdd959d808b84cae58c738a9d3d8f0b9c.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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/samsung/odroidx2_max98090.c | 2 |
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)); |