[ALSA] soc - spitz - Fix checkpatch warnings
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Apr 2008 13:13:33 +0000 (15:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:43 +0000 (12:00 +0200)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/pxa/spitz.c

index ecca39033fcceff2ae449cec9c48ab3f17f3061f..d8b8372db00e76c9412364867025628f3b8d957e 100644 (file)
@@ -313,15 +313,13 @@ static int spitz_wm8750_init(struct snd_soc_codec *codec)
        }
 
        /* Add spitz specific widgets */
-       for (i = 0; i < ARRAY_SIZE(wm8750_dapm_widgets); i++) {
+       for (i = 0; i < ARRAY_SIZE(wm8750_dapm_widgets); i++)
                snd_soc_dapm_new_control(codec, &wm8750_dapm_widgets[i]);
-       }
 
        /* Set up spitz specific audio path audio_map */
-       for (i = 0; audio_map[i][0] != NULL; i++) {
+       for (i = 0; audio_map[i][0] != NULL; i++)
                snd_soc_dapm_connect_input(codec, audio_map[i][0],
                        audio_map[i][1], audio_map[i][2]);
-       }
 
        snd_soc_dapm_sync_endpoints(codec);
        return 0;