Skip to contentSkip to conversation

sound: sound_core: changed spaces to tabs

PATCH New Paul Lemmermann 1 participant 1 message May 14, 2022 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound: sound_core: changed spaces to tabs

changed spaces to tabs in sound_core.c according to kernel styling guidelines. found using checkpatch.pl.

---
 sound/sound_core.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
sound/sound_core.c +5 -5
index 3332fe321..28bc038dc 100644
@@ -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;
 	}
Signature · 1 line
2.35.1