* [PATCH] ASoC: Clean up AC'97 glue driver
@ 2010-09-23 18:44 Mark Brown
2010-09-24 9:32 ` Liam Girdwood
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2010-09-23 18:44 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown
Remove version number and clean up some indentation.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
sound/soc/codecs/ac97.c | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c
index 12c87d3..2c824a5 100644
--- a/sound/soc/codecs/ac97.c
+++ b/sound/soc/codecs/ac97.c
@@ -22,8 +22,6 @@
#include <sound/initval.h>
#include <sound/soc.h>
-#define AC97_VERSION "0.6"
-
static int ac97_prepare(struct snd_pcm_substream *substream,
struct snd_soc_dai *dai)
{
@@ -81,11 +79,9 @@ static int ac97_soc_probe(struct snd_soc_codec *codec)
struct snd_ac97_template ac97_template;
int ret;
- printk(KERN_INFO "AC97 SoC Audio Codec %s\n", AC97_VERSION);
-
ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 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;
}
@@ -127,8 +123,8 @@ static int ac97_soc_resume(struct snd_soc_codec *codec)
#endif
static struct snd_soc_codec_driver soc_codec_dev_ac97 = {
- .write = ac97_write,
- .read = ac97_read,
+ .write = ac97_write,
+ .read = ac97_read,
.probe = ac97_soc_probe,
.remove = ac97_soc_remove,
.suspend = ac97_soc_suspend,
@@ -149,8 +145,8 @@ static int __devexit ac97_remove(struct platform_device *pdev)
static struct platform_driver ac97_codec_driver = {
.driver = {
- .name = "ac97-codec",
- .owner = THIS_MODULE,
+ .name = "ac97-codec",
+ .owner = THIS_MODULE,
},
.probe = ac97_probe,
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: Clean up AC'97 glue driver
2010-09-23 18:44 [PATCH] ASoC: Clean up AC'97 glue driver Mark Brown
@ 2010-09-24 9:32 ` Liam Girdwood
0 siblings, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2010-09-24 9:32 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel, patches
On Thu, 2010-09-23 at 19:44 +0100, Mark Brown wrote:
> Remove version number and clean up some indentation.
>
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-24 9:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-23 18:44 [PATCH] ASoC: Clean up AC'97 glue driver Mark Brown
2010-09-24 9:32 ` Liam Girdwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox