aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/ac97.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c
index e889e1b84192..bd9b1839c8b0 100644
--- a/sound/soc/codecs/ac97.c
+++ b/sound/soc/codecs/ac97.c
@@ -69,19 +69,6 @@ static struct snd_soc_dai_driver ac97_dai = {
69 .ops = &ac97_dai_ops, 69 .ops = &ac97_dai_ops,
70}; 70};
71 71
72static unsigned int ac97_read(struct snd_soc_codec *codec,
73 unsigned int reg)
74{
75 return soc_ac97_ops->read(codec->ac97, reg);
76}
77
78static int ac97_write(struct snd_soc_codec *codec, unsigned int reg,
79 unsigned int val)
80{
81 soc_ac97_ops->write(codec->ac97, reg, val);
82 return 0;
83}
84
85static int ac97_soc_probe(struct snd_soc_codec *codec) 72static int ac97_soc_probe(struct snd_soc_codec *codec)
86{ 73{
87 struct snd_ac97_bus *ac97_bus; 74 struct snd_ac97_bus *ac97_bus;
@@ -122,8 +109,6 @@ static int ac97_soc_resume(struct snd_soc_codec *codec)
122#endif 109#endif
123 110
124static struct snd_soc_codec_driver soc_codec_dev_ac97 = { 111static struct snd_soc_codec_driver soc_codec_dev_ac97 = {
125 .write = ac97_write,
126 .read = ac97_read,
127 .probe = ac97_soc_probe, 112 .probe = ac97_soc_probe,
128 .suspend = ac97_soc_suspend, 113 .suspend = ac97_soc_suspend,
129 .resume = ac97_soc_resume, 114 .resume = ac97_soc_resume,