diff mbox

sound/sb_midi: a couple indenting fixes

Message ID 20150225133216.GQ19745@mwanda (mailing list archive)
State Accepted
Commit f0418d46d6ad25be991d557c6c50d1e61b4ba690
Headers show

Commit Message

Dan Carpenter Feb. 25, 2015, 1:32 p.m. UTC
Let's make things line up a little bit better.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Comments

Takashi Iwai Feb. 25, 2015, 7:09 p.m. UTC | #1
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;
>  
>  
>
diff mbox

Patch

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;