aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2010-11-08 05:41:53 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-08 11:51:45 -0500
commit0aa34b16f9f34a81bd50c097f1953877614220db (patch)
treebe581ea86e466b73905b3812d14c452bb12e9742 /sound
parent5aaa062c27273d21d1f52ddc20e697b6466057d4 (diff)
ASoC: Remove unneeded use of address-of operator
There is no need to use '&' in this case. Either way, if a is an array of some type, then a == &a == &a[0]. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8580.c2
-rw-r--r--sound/soc/codecs/wm8741.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c
index dfd1dbd71f1d..36c035bf4e42 100644
--- a/sound/soc/codecs/wm8580.c
+++ b/sound/soc/codecs/wm8580.c
@@ -906,7 +906,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8580 = {
906 .set_bias_level = wm8580_set_bias_level, 906 .set_bias_level = wm8580_set_bias_level,
907 .reg_cache_size = ARRAY_SIZE(wm8580_reg), 907 .reg_cache_size = ARRAY_SIZE(wm8580_reg),
908 .reg_word_size = sizeof(u16), 908 .reg_word_size = sizeof(u16),
909 .reg_cache_default = &wm8580_reg, 909 .reg_cache_default = wm8580_reg,
910}; 910};
911 911
912#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) 912#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
diff --git a/sound/soc/codecs/wm8741.c b/sound/soc/codecs/wm8741.c
index 43c49dfc9928..2543a26513fb 100644
--- a/sound/soc/codecs/wm8741.c
+++ b/sound/soc/codecs/wm8741.c
@@ -456,7 +456,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8741 = {
456 .resume = wm8741_resume, 456 .resume = wm8741_resume,
457 .reg_cache_size = ARRAY_SIZE(wm8741_reg_defaults), 457 .reg_cache_size = ARRAY_SIZE(wm8741_reg_defaults),
458 .reg_word_size = sizeof(u16), 458 .reg_word_size = sizeof(u16),
459 .reg_cache_default = &wm8741_reg_defaults, 459 .reg_cache_default = wm8741_reg_defaults,
460}; 460};
461 461
462#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) 462#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)