Commit 591796b8 authored by Mark Brown's avatar Mark Brown

ASoC: Clean up AC'97 glue driver

Remove version number and clean up some indentation.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 8d85d741
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
#include <sound/initval.h> #include <sound/initval.h>
#include <sound/soc.h> #include <sound/soc.h>
#define AC97_VERSION "0.6"
static int ac97_prepare(struct snd_pcm_substream *substream, static int ac97_prepare(struct snd_pcm_substream *substream,
struct snd_soc_dai *dai) struct snd_soc_dai *dai)
{ {
...@@ -81,11 +79,9 @@ static int ac97_soc_probe(struct snd_soc_codec *codec) ...@@ -81,11 +79,9 @@ static int ac97_soc_probe(struct snd_soc_codec *codec)
struct snd_ac97_template ac97_template; struct snd_ac97_template ac97_template;
int ret; int ret;
printk(KERN_INFO "AC97 SoC Audio Codec %s\n", AC97_VERSION);
ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0); ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0);
if (ret < 0) { if (ret < 0) {
printk(KERN_ERR "ASoC: failed to init gen ac97 glue\n"); printk(KERN_ERR "ASoC: failed to init generic ac97 glue\n");
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment