[alsa-devel] [patch] sound/sb_midi: a couple indenting fixes
Let's make things line up a little bit better.
Signed-off-by: Dan Carpenter dan.carpenter@oracle.com
diff --git a/sound/oss/sb_midi.c b/sound/oss/sb_midi.c index f139028..551ee75 100644 --- a/sound/oss/sb_midi.c +++ b/sound/oss/sb_midi.c @@ -179,14 +179,14 @@ void sb_dsp_midi_init(sb_devc * devc, struct module *owner) { printk(KERN_WARNING "Sound Blaster: failed to allocate MIDI memory.\n"); sound_unload_mididev(dev); - return; + return; } memcpy((char *) midi_devs[dev], (char *) &sb_midi_operations, sizeof(struct midi_operations));
if (owner) - midi_devs[dev]->owner = owner; - + midi_devs[dev]->owner = owner; + midi_devs[dev]->devc = devc;
At Wed, 25 Feb 2015 16:32:16 +0300, Dan Carpenter wrote:
Let's make things line up a little bit better.
Signed-off-by: Dan Carpenter dan.carpenter@oracle.com
Applied, thanks.
Takashi
diff --git a/sound/oss/sb_midi.c b/sound/oss/sb_midi.c index f139028..551ee75 100644 --- a/sound/oss/sb_midi.c +++ b/sound/oss/sb_midi.c @@ -179,14 +179,14 @@ void sb_dsp_midi_init(sb_devc * devc, struct module *owner) { printk(KERN_WARNING "Sound Blaster: failed to allocate MIDI memory.\n"); sound_unload_mididev(dev);
return;
return;
} memcpy((char *) midi_devs[dev], (char *) &sb_midi_operations, sizeof(struct midi_operations));
if (owner)
midi_devs[dev]->owner = owner;
midi_devs[dev]->owner = owner;
- midi_devs[dev]->devc = devc;
participants (2)
-
Dan Carpenter
-
Takashi Iwai