summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2010-09-16 13:07:06 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-16 14:14:57 +0100
commit4c62ed9b554aa32180a5d697acc7ab8f774b549f (patch)
treedd9bb6d9a4f7dcfe6e8bed4d8ea5c5dc1220cb46
parent0ce75aa4fe845a8dbbf949cb31e15c06a503b860 (diff)
downloadlinux-3.10-4c62ed9b554aa32180a5d697acc7ab8f774b549f.tar.gz
linux-3.10-4c62ed9b554aa32180a5d697acc7ab8f774b549f.tar.bz2
linux-3.10-4c62ed9b554aa32180a5d697acc7ab8f774b549f.zip
ASoC: da7210: code clean up
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/codecs/da7210.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/soc/codecs/da7210.c b/sound/soc/codecs/da7210.c
index eabf3c06250..58bb9b99481 100644
--- a/sound/soc/codecs/da7210.c
+++ b/sound/soc/codecs/da7210.c
@@ -454,7 +454,7 @@ static int da7210_probe(struct snd_soc_codec *codec)
dev_info(codec->dev, "DA7210 Audio Codec %s\n", DA7210_VERSION);
- codec->control_data = da7210->control_data;
+ codec->control_data = da7210->control_data;
codec->hw_write = (hw_write_t)i2c_master_send;
/* FIXME
@@ -547,11 +547,11 @@ static int da7210_probe(struct snd_soc_codec *codec)
}
static struct snd_soc_codec_driver soc_codec_dev_da7210 = {
- .probe = da7210_probe,
- .read = da7210_read,
- .write = da7210_write,
- .reg_cache_size = ARRAY_SIZE(da7210_reg),
- .reg_word_size = sizeof(u8),
+ .probe = da7210_probe,
+ .read = da7210_read,
+ .write = da7210_write,
+ .reg_cache_size = ARRAY_SIZE(da7210_reg),
+ .reg_word_size = sizeof(u8),
.reg_cache_default = da7210_reg,
};
@@ -597,9 +597,9 @@ static struct i2c_driver da7210_i2c_driver = {
.name = "da7210-codec",
.owner = THIS_MODULE,
},
- .probe = da7210_i2c_probe,
- .remove = __devexit_p(da7210_i2c_remove),
- .id_table = da7210_i2c_id,
+ .probe = da7210_i2c_probe,
+ .remove = __devexit_p(da7210_i2c_remove),
+ .id_table = da7210_i2c_id,
};
#endif