aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/da7210.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2010-09-16 00:07:06 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-16 09:14:57 -0400
commit4c62ed9b554aa32180a5d697acc7ab8f774b549f (patch)
treedd9bb6d9a4f7dcfe6e8bed4d8ea5c5dc1220cb46 /sound/soc/codecs/da7210.c
parent0ce75aa4fe845a8dbbf949cb31e15c06a503b860 (diff)
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>
Diffstat (limited to 'sound/soc/codecs/da7210.c')
-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 eabf3c062500..58bb9b994811 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)
454 454
455 dev_info(codec->dev, "DA7210 Audio Codec %s\n", DA7210_VERSION); 455 dev_info(codec->dev, "DA7210 Audio Codec %s\n", DA7210_VERSION);
456 456
457 codec->control_data = da7210->control_data; 457 codec->control_data = da7210->control_data;
458 codec->hw_write = (hw_write_t)i2c_master_send; 458 codec->hw_write = (hw_write_t)i2c_master_send;
459 459
460 /* FIXME 460 /* FIXME
@@ -547,11 +547,11 @@ static int da7210_probe(struct snd_soc_codec *codec)
547} 547}
548 548
549static struct snd_soc_codec_driver soc_codec_dev_da7210 = { 549static struct snd_soc_codec_driver soc_codec_dev_da7210 = {
550 .probe = da7210_probe, 550 .probe = da7210_probe,
551 .read = da7210_read, 551 .read = da7210_read,
552 .write = da7210_write, 552 .write = da7210_write,
553 .reg_cache_size = ARRAY_SIZE(da7210_reg), 553 .reg_cache_size = ARRAY_SIZE(da7210_reg),
554 .reg_word_size = sizeof(u8), 554 .reg_word_size = sizeof(u8),
555 .reg_cache_default = da7210_reg, 555 .reg_cache_default = da7210_reg,
556}; 556};
557 557
@@ -597,9 +597,9 @@ static struct i2c_driver da7210_i2c_driver = {
597 .name = "da7210-codec", 597 .name = "da7210-codec",
598 .owner = THIS_MODULE, 598 .owner = THIS_MODULE,
599 }, 599 },
600 .probe = da7210_i2c_probe, 600 .probe = da7210_i2c_probe,
601 .remove = __devexit_p(da7210_i2c_remove), 601 .remove = __devexit_p(da7210_i2c_remove),
602 .id_table = da7210_i2c_id, 602 .id_table = da7210_i2c_id,
603}; 603};
604#endif 604#endif
605 605