aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2008-04-23 09:13:33 -0400
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:43 -0400
commit22cd630285b6a12a50f02dfb23c531f151be5499 (patch)
tree91b52e4b4b8a3ff7b5ace9ae590fa36689261bec /sound
parent29e36e49bdb7f24ca7cc0fb980fab2c407a8a2c9 (diff)
[ALSA] soc - spitz - Fix checkpatch warnings
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/pxa/spitz.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/pxa/spitz.c b/sound/soc/pxa/spitz.c
index ecca39033fcc..d8b8372db00e 100644
--- a/sound/soc/pxa/spitz.c
+++ b/sound/soc/pxa/spitz.c
@@ -313,15 +313,13 @@ static int spitz_wm8750_init(struct snd_soc_codec *codec)
313 } 313 }
314 314
315 /* Add spitz specific widgets */ 315 /* Add spitz specific widgets */
316 for (i = 0; i < ARRAY_SIZE(wm8750_dapm_widgets); i++) { 316 for (i = 0; i < ARRAY_SIZE(wm8750_dapm_widgets); i++)
317 snd_soc_dapm_new_control(codec, &wm8750_dapm_widgets[i]); 317 snd_soc_dapm_new_control(codec, &wm8750_dapm_widgets[i]);
318 }
319 318
320 /* Set up spitz specific audio path audio_map */ 319 /* Set up spitz specific audio path audio_map */
321 for (i = 0; audio_map[i][0] != NULL; i++) { 320 for (i = 0; audio_map[i][0] != NULL; i++)
322 snd_soc_dapm_connect_input(codec, audio_map[i][0], 321 snd_soc_dapm_connect_input(codec, audio_map[i][0],
323 audio_map[i][1], audio_map[i][2]); 322 audio_map[i][1], audio_map[i][2]);
324 }
325 323
326 snd_soc_dapm_sync_endpoints(codec); 324 snd_soc_dapm_sync_endpoints(codec);
327 return 0; 325 return 0;