summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/sn95031.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2011-01-07 16:20:28 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-10 11:35:41 +0000
commitb22dab8883250d5fd91c8c4a7bd00c5985ac82ad (patch)
treee660614539b5e5361e4f3eb9b0c9871dd78c2158 /sound/soc/codecs/sn95031.c
parente62255f2adf2e6407d9ac72f5d5ec17712a4fc1d (diff)
downloadlinux-b22dab8883250d5fd91c8c4a7bd00c5985ac82ad.tar.gz
linux-b22dab8883250d5fd91c8c4a7bd00c5985ac82ad.tar.bz2
linux-b22dab8883250d5fd91c8c4a7bd00c5985ac82ad.zip
ASoC: sn95031 fix the code style and format inconsistencies
this patch fixes inconsistencies commented by Mark. This also fixes few other style things in audio_map & header file Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Harsha Priya <priya.harsha@intel.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/sn95031.c')
-rw-r--r--sound/soc/codecs/sn95031.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c
index 146b74467ae7..593632cf791d 100644
--- a/sound/soc/codecs/sn95031.c
+++ b/sound/soc/codecs/sn95031.c
@@ -235,21 +235,21 @@ static const struct snd_soc_dapm_route sn95031_audio_map[] = {
{ "IHFDAC Right", NULL, "Speaker Rail"},
/* vibra map */
- {"VIB1OUT", NULL, "Vibra1 Playback"},
- {"Vibra1 Playback", NULL, "Vibra1 DAC"},
+ { "VIB1OUT", NULL, "Vibra1 Playback"},
+ { "Vibra1 Playback", NULL, "Vibra1 DAC"},
- {"VIB2OUT", NULL, "Vibra2 Playback"},
- {"Vibra2 Playback", NULL, "Vibra2 DAC"},
+ { "VIB2OUT", NULL, "Vibra2 Playback"},
+ { "Vibra2 Playback", NULL, "Vibra2 DAC"},
/* lineout */
- {"LINEOUTL", NULL, "Lineout Left Playback"},
- {"LINEOUTR", NULL, "Lineout Right Playback"},
- {"Lineout Left Playback", NULL, "Headset Left Filter"},
- {"Lineout Left Playback", NULL, "Speaker Left Filter"},
- {"Lineout Left Playback", NULL, "Vibra1 DAC"},
- {"Lineout Right Playback", NULL, "Headset Right Filter"},
- {"Lineout Right Playback", NULL, "Speaker Right Filter"},
- {"Lineout Right Playback", NULL, "Vibra2 DAC"},
+ { "LINEOUTL", NULL, "Lineout Left Playback"},
+ { "LINEOUTR", NULL, "Lineout Right Playback"},
+ { "Lineout Left Playback", NULL, "Headset Left Filter"},
+ { "Lineout Left Playback", NULL, "Speaker Left Filter"},
+ { "Lineout Left Playback", NULL, "Vibra1 DAC"},
+ { "Lineout Right Playback", NULL, "Headset Right Filter"},
+ { "Lineout Right Playback", NULL, "Speaker Right Filter"},
+ { "Lineout Right Playback", NULL, "Vibra2 DAC"},
};
/* speaker and headset mutes, for audio pops and clicks */
@@ -444,8 +444,8 @@ static int sn95031_codec_remove(struct snd_soc_codec *codec)
}
struct snd_soc_codec_driver sn95031_codec = {
- .probe = sn95031_codec_probe,
- .remove = sn95031_codec_remove,
+ .probe = sn95031_codec_probe,
+ .remove = sn95031_codec_remove,
.read = sn95031_read,
.write = sn95031_write,
.set_bias_level = sn95031_set_vaud_bias,
@@ -488,7 +488,7 @@ static void __exit sn95031_exit(void)
}
module_exit(sn95031_exit);
-MODULE_DESCRIPTION("ASoC Intel(R) SN95031 codec driver");
+MODULE_DESCRIPTION("ASoC TI SN95031 codec driver");
MODULE_AUTHOR("Vinod Koul <vinod.koul@intel.com>");
MODULE_AUTHOR("Harsha Priya <priya.harsha@intel.com>");
MODULE_LICENSE("GPL v2");