diff mbox series

sound: sound_core: changed spaces to tabs

Message ID Yn8KfFXUfWlGw+Bw@paul-debian-hp (mailing list archive)
State New, archived
Headers show
Series sound: sound_core: changed spaces to tabs | expand

Commit Message

Paul Lemmermann May 14, 2022, 1:48 a.m. UTC
changed spaces to tabs in sound_core.c according to kernel styling
guidelines. found using checkpatch.pl.

Signed-off-by: Paul Lemmermann <thepaulodoom@thepaulodoom.com>
---
 sound/sound_core.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/sound/sound_core.c b/sound/sound_core.c
index 3332fe321..28bc038dc 100644
--- a/sound/sound_core.c
+++ b/sound/sound_core.c
@@ -290,7 +290,7 @@  static int sound_insert_unit(struct sound_unit **list, const struct file_operati
  *	completed the removal before their file operations become
  *	invalid.
  */
- 	
+
 static void sound_remove_unit(struct sound_unit **list, int unit)
 {
 	struct sound_unit *p;
@@ -395,12 +395,12 @@  int register_sound_special_device(const struct file_operations *fops, int unit,
 		name = "admmidi";
 		break;
 	    default:
-	    	{
+		{
 		    __unknown:
 			sprintf(_name, "unknown%d", chain);
-		    	if (unit >= SOUND_STEP)
-		    		strcat(_name, "-");
-		    	name = _name;
+			if (unit >= SOUND_STEP)
+				strcat(_name, "-");
+			name = _name;
 		}
 		break;
 	}