[PATCH 4/5] ALSA: mts64: fix checkpatch space complains

From: Sudip Mukherjee
Date: Thu Jan 07 2016 - 03:33:18 EST


checkpatch was complaining about space before start of a line and a
required space before opening brace.

Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>
---
sound/drivers/mts64.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/drivers/mts64.c b/sound/drivers/mts64.c
index f00e938..ee6a87f 100644
--- a/sound/drivers/mts64.c
+++ b/sound/drivers/mts64.c
@@ -743,7 +743,7 @@ static void snd_mts64_rawmidi_input_trigger(struct snd_rawmidi_substream *substr
if (up)
mts->mode[substream->number] |= MTS64_MODE_INPUT_TRIGGERED;
else
- mts->mode[substream->number] &= ~MTS64_MODE_INPUT_TRIGGERED;
+ mts->mode[substream->number] &= ~MTS64_MODE_INPUT_TRIGGERED;

spin_unlock_irqrestore(&mts->lock, flags);
}
@@ -779,8 +779,8 @@ static int snd_mts64_rawmidi_create(struct snd_card *card)
rmidi->private_data = mts;
strcpy(rmidi->name, CARD_NAME);
rmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT |
- SNDRV_RAWMIDI_INFO_INPUT |
- SNDRV_RAWMIDI_INFO_DUPLEX;
+ SNDRV_RAWMIDI_INFO_INPUT |
+ SNDRV_RAWMIDI_INFO_DUPLEX;

mts->rmidi = rmidi;

@@ -803,7 +803,7 @@ static int snd_mts64_rawmidi_create(struct snd_card *card)
&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) {
substream = list_entry(list, struct snd_rawmidi_substream, list);
mts->midi_input_substream[substream->number] = substream;
- switch(substream->number) {
+ switch (substream->number) {
case MTS64_SMPTE_SUBSTREAM:
strcpy(substream->name, "Miditerminal SMPTE");
break;
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/