ASoC: samsung: odroidx2/u3: Fix the checking out code style problem
authorHuang Chao <chao7.huang@samsung.com>
Thu, 12 Jun 2014 06:10:45 +0000 (14:10 +0800)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:32:09 +0000 (14:32 +0900)
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>
sound/soc/samsung/odroidx2_max98090.c

index 6ec3519..7d70264 100644 (file)
@@ -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));