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>
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));