diff options
-rw-r--r-- | sound/soc/codecs/wm8580.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8711.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8728.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8731.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8741.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8750.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8753.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8776.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8900.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8940.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8961.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8988.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8993.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm9081.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm9705.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm9712.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm9713.c | 2 |
17 files changed, 17 insertions, 17 deletions
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c index 910c62a3f594..ad5987e6c9ca 100644 --- a/sound/soc/codecs/wm8580.c +++ b/sound/soc/codecs/wm8580.c | |||
@@ -907,7 +907,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8580 = { | |||
907 | .probe = wm8580_probe, | 907 | .probe = wm8580_probe, |
908 | .remove = wm8580_remove, | 908 | .remove = wm8580_remove, |
909 | .set_bias_level = wm8580_set_bias_level, | 909 | .set_bias_level = wm8580_set_bias_level, |
910 | .reg_cache_size = sizeof(wm8580_reg), | 910 | .reg_cache_size = ARRAY_SIZE(wm8580_reg), |
911 | .reg_word_size = sizeof(u16), | 911 | .reg_word_size = sizeof(u16), |
912 | .reg_cache_default = &wm8580_reg, | 912 | .reg_cache_default = &wm8580_reg, |
913 | }; | 913 | }; |
diff --git a/sound/soc/codecs/wm8711.c b/sound/soc/codecs/wm8711.c index f8d9c60e7fad..52a923a7861e 100644 --- a/sound/soc/codecs/wm8711.c +++ b/sound/soc/codecs/wm8711.c | |||
@@ -418,7 +418,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8711 = { | |||
418 | .suspend = wm8711_suspend, | 418 | .suspend = wm8711_suspend, |
419 | .resume = wm8711_resume, | 419 | .resume = wm8711_resume, |
420 | .set_bias_level = wm8711_set_bias_level, | 420 | .set_bias_level = wm8711_set_bias_level, |
421 | .reg_cache_size = sizeof(wm8711_reg), | 421 | .reg_cache_size = ARRAY_SIZE(wm8711_reg), |
422 | .reg_word_size = sizeof(u16), | 422 | .reg_word_size = sizeof(u16), |
423 | .reg_cache_default = wm8711_reg, | 423 | .reg_cache_default = wm8711_reg, |
424 | }; | 424 | }; |
diff --git a/sound/soc/codecs/wm8728.c b/sound/soc/codecs/wm8728.c index 5e5a1625194c..32eba85b0a2c 100644 --- a/sound/soc/codecs/wm8728.c +++ b/sound/soc/codecs/wm8728.c | |||
@@ -272,7 +272,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8728 = { | |||
272 | .suspend = wm8728_suspend, | 272 | .suspend = wm8728_suspend, |
273 | .resume = wm8728_resume, | 273 | .resume = wm8728_resume, |
274 | .set_bias_level = wm8728_set_bias_level, | 274 | .set_bias_level = wm8728_set_bias_level, |
275 | .reg_cache_size = sizeof(wm8728_reg_defaults), | 275 | .reg_cache_size = ARRAY_SIZE(wm8728_reg_defaults), |
276 | .reg_word_size = sizeof(u16), | 276 | .reg_word_size = sizeof(u16), |
277 | .reg_cache_default = wm8728_reg_defaults, | 277 | .reg_cache_default = wm8728_reg_defaults, |
278 | }; | 278 | }; |
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c index 56f540838745..28275014c73d 100644 --- a/sound/soc/codecs/wm8731.c +++ b/sound/soc/codecs/wm8731.c | |||
@@ -567,7 +567,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8731 = { | |||
567 | .suspend = wm8731_suspend, | 567 | .suspend = wm8731_suspend, |
568 | .resume = wm8731_resume, | 568 | .resume = wm8731_resume, |
569 | .set_bias_level = wm8731_set_bias_level, | 569 | .set_bias_level = wm8731_set_bias_level, |
570 | .reg_cache_size = sizeof(wm8731_reg), | 570 | .reg_cache_size = ARRAY_SIZE(wm8731_reg), |
571 | .reg_word_size = sizeof(u16), | 571 | .reg_word_size = sizeof(u16), |
572 | .reg_cache_default = wm8731_reg, | 572 | .reg_cache_default = wm8731_reg, |
573 | }; | 573 | }; |
diff --git a/sound/soc/codecs/wm8741.c b/sound/soc/codecs/wm8741.c index c8e7a264bbae..90e31e9aa6f7 100644 --- a/sound/soc/codecs/wm8741.c +++ b/sound/soc/codecs/wm8741.c | |||
@@ -453,7 +453,7 @@ static int wm8741_probe(struct snd_soc_codec *codec) | |||
453 | static struct snd_soc_codec_driver soc_codec_dev_wm8741 = { | 453 | static struct snd_soc_codec_driver soc_codec_dev_wm8741 = { |
454 | .probe = wm8741_probe, | 454 | .probe = wm8741_probe, |
455 | .resume = wm8741_resume, | 455 | .resume = wm8741_resume, |
456 | .reg_cache_size = sizeof(wm8741_reg_defaults), | 456 | .reg_cache_size = ARRAY_SIZE(wm8741_reg_defaults), |
457 | .reg_word_size = sizeof(u16), | 457 | .reg_word_size = sizeof(u16), |
458 | .reg_cache_default = &wm8741_reg_defaults, | 458 | .reg_cache_default = &wm8741_reg_defaults, |
459 | }; | 459 | }; |
diff --git a/sound/soc/codecs/wm8750.c b/sound/soc/codecs/wm8750.c index 92d4b2aef93b..4d1ec9dc86ff 100644 --- a/sound/soc/codecs/wm8750.c +++ b/sound/soc/codecs/wm8750.c | |||
@@ -747,7 +747,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8750 = { | |||
747 | .suspend = wm8750_suspend, | 747 | .suspend = wm8750_suspend, |
748 | .resume = wm8750_resume, | 748 | .resume = wm8750_resume, |
749 | .set_bias_level = wm8750_set_bias_level, | 749 | .set_bias_level = wm8750_set_bias_level, |
750 | .reg_cache_size = sizeof(wm8750_reg), | 750 | .reg_cache_size = ARRAY_SIZE(wm8750_reg), |
751 | .reg_word_size = sizeof(u16), | 751 | .reg_word_size = sizeof(u16), |
752 | .reg_cache_default = wm8750_reg, | 752 | .reg_cache_default = wm8750_reg, |
753 | }; | 753 | }; |
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c index 4a945d3edf25..0b0e3b3ebbbb 100644 --- a/sound/soc/codecs/wm8753.c +++ b/sound/soc/codecs/wm8753.c | |||
@@ -1617,7 +1617,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8753 = { | |||
1617 | .suspend = wm8753_suspend, | 1617 | .suspend = wm8753_suspend, |
1618 | .resume = wm8753_resume, | 1618 | .resume = wm8753_resume, |
1619 | .set_bias_level = wm8753_set_bias_level, | 1619 | .set_bias_level = wm8753_set_bias_level, |
1620 | .reg_cache_size = sizeof(wm8753_reg), | 1620 | .reg_cache_size = ARRAY_SIZE(wm8753_reg), |
1621 | .reg_word_size = sizeof(u16), | 1621 | .reg_word_size = sizeof(u16), |
1622 | .reg_cache_default = wm8753_reg, | 1622 | .reg_cache_default = wm8753_reg, |
1623 | }; | 1623 | }; |
diff --git a/sound/soc/codecs/wm8776.c b/sound/soc/codecs/wm8776.c index 05d98dd26072..c0b69179855a 100644 --- a/sound/soc/codecs/wm8776.c +++ b/sound/soc/codecs/wm8776.c | |||
@@ -448,7 +448,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8776 = { | |||
448 | .suspend = wm8776_suspend, | 448 | .suspend = wm8776_suspend, |
449 | .resume = wm8776_resume, | 449 | .resume = wm8776_resume, |
450 | .set_bias_level = wm8776_set_bias_level, | 450 | .set_bias_level = wm8776_set_bias_level, |
451 | .reg_cache_size = sizeof(wm8776_reg), | 451 | .reg_cache_size = ARRAY_SIZE(wm8776_reg), |
452 | .reg_word_size = sizeof(u16), | 452 | .reg_word_size = sizeof(u16), |
453 | .reg_cache_default = wm8776_reg, | 453 | .reg_cache_default = wm8776_reg, |
454 | }; | 454 | }; |
diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c index 1378aab5ca75..25c8ccdb6e8d 100644 --- a/sound/soc/codecs/wm8900.c +++ b/sound/soc/codecs/wm8900.c | |||
@@ -1256,7 +1256,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8900 = { | |||
1256 | .resume = wm8900_resume, | 1256 | .resume = wm8900_resume, |
1257 | .set_bias_level = wm8900_set_bias_level, | 1257 | .set_bias_level = wm8900_set_bias_level, |
1258 | .volatile_register = wm8900_volatile_register, | 1258 | .volatile_register = wm8900_volatile_register, |
1259 | .reg_cache_size = sizeof(wm8900_reg_defaults), | 1259 | .reg_cache_size = ARRAY_SIZE(wm8900_reg_defaults), |
1260 | .reg_word_size = sizeof(u16), | 1260 | .reg_word_size = sizeof(u16), |
1261 | .reg_cache_default = wm8900_reg_defaults, | 1261 | .reg_cache_default = wm8900_reg_defaults, |
1262 | }; | 1262 | }; |
diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c index d28bf0dfdb1d..2cb16f895c46 100644 --- a/sound/soc/codecs/wm8940.c +++ b/sound/soc/codecs/wm8940.c | |||
@@ -750,7 +750,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8940 = { | |||
750 | .suspend = wm8940_suspend, | 750 | .suspend = wm8940_suspend, |
751 | .resume = wm8940_resume, | 751 | .resume = wm8940_resume, |
752 | .set_bias_level = wm8940_set_bias_level, | 752 | .set_bias_level = wm8940_set_bias_level, |
753 | .reg_cache_size = sizeof(wm8940_reg_defaults), | 753 | .reg_cache_size = ARRAY_SIZE(wm8940_reg_defaults), |
754 | .reg_word_size = sizeof(u16), | 754 | .reg_word_size = sizeof(u16), |
755 | .reg_cache_default = wm8940_reg_defaults, | 755 | .reg_cache_default = wm8940_reg_defaults, |
756 | }; | 756 | }; |
diff --git a/sound/soc/codecs/wm8961.c b/sound/soc/codecs/wm8961.c index bfc6578ed060..4f326f604104 100644 --- a/sound/soc/codecs/wm8961.c +++ b/sound/soc/codecs/wm8961.c | |||
@@ -1075,7 +1075,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8961 = { | |||
1075 | .suspend = wm8961_suspend, | 1075 | .suspend = wm8961_suspend, |
1076 | .resume = wm8961_resume, | 1076 | .resume = wm8961_resume, |
1077 | .set_bias_level = wm8961_set_bias_level, | 1077 | .set_bias_level = wm8961_set_bias_level, |
1078 | .reg_cache_size = sizeof(wm8961_reg_defaults), | 1078 | .reg_cache_size = ARRAY_SIZE(wm8961_reg_defaults), |
1079 | .reg_word_size = sizeof(u16), | 1079 | .reg_word_size = sizeof(u16), |
1080 | .reg_cache_default = wm8961_reg_defaults, | 1080 | .reg_cache_default = wm8961_reg_defaults, |
1081 | .volatile_register = wm8961_volatile_register, | 1081 | .volatile_register = wm8961_volatile_register, |
diff --git a/sound/soc/codecs/wm8988.c b/sound/soc/codecs/wm8988.c index d070a58e4f8e..d08b1fe6c42c 100644 --- a/sound/soc/codecs/wm8988.c +++ b/sound/soc/codecs/wm8988.c | |||
@@ -809,7 +809,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8988 = { | |||
809 | .suspend = wm8988_suspend, | 809 | .suspend = wm8988_suspend, |
810 | .resume = wm8988_resume, | 810 | .resume = wm8988_resume, |
811 | .set_bias_level = wm8988_set_bias_level, | 811 | .set_bias_level = wm8988_set_bias_level, |
812 | .reg_cache_size = sizeof(wm8988_reg), | 812 | .reg_cache_size = ARRAY_SIZE(wm8988_reg), |
813 | .reg_word_size = sizeof(u16), | 813 | .reg_word_size = sizeof(u16), |
814 | .reg_cache_default = wm8988_reg, | 814 | .reg_cache_default = wm8988_reg, |
815 | }; | 815 | }; |
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c index a3fd6b935804..589e3fa24734 100644 --- a/sound/soc/codecs/wm8993.c +++ b/sound/soc/codecs/wm8993.c | |||
@@ -1586,7 +1586,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8993 = { | |||
1586 | .suspend = wm8993_suspend, | 1586 | .suspend = wm8993_suspend, |
1587 | .resume = wm8993_resume, | 1587 | .resume = wm8993_resume, |
1588 | .set_bias_level = wm8993_set_bias_level, | 1588 | .set_bias_level = wm8993_set_bias_level, |
1589 | .reg_cache_size = sizeof(wm8993_reg_defaults), | 1589 | .reg_cache_size = ARRAY_SIZE(wm8993_reg_defaults), |
1590 | .reg_word_size = sizeof(u16), | 1590 | .reg_word_size = sizeof(u16), |
1591 | .reg_cache_default = wm8993_reg_defaults, | 1591 | .reg_cache_default = wm8993_reg_defaults, |
1592 | .volatile_register = wm8993_volatile, | 1592 | .volatile_register = wm8993_volatile, |
diff --git a/sound/soc/codecs/wm9081.c b/sound/soc/codecs/wm9081.c index 00249d5b6793..ecc7c37180c7 100644 --- a/sound/soc/codecs/wm9081.c +++ b/sound/soc/codecs/wm9081.c | |||
@@ -1317,7 +1317,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm9081 = { | |||
1317 | .suspend = wm9081_suspend, | 1317 | .suspend = wm9081_suspend, |
1318 | .resume = wm9081_resume, | 1318 | .resume = wm9081_resume, |
1319 | .set_bias_level = wm9081_set_bias_level, | 1319 | .set_bias_level = wm9081_set_bias_level, |
1320 | .reg_cache_size = sizeof(wm9081_reg_defaults), | 1320 | .reg_cache_size = ARRAY_SIZE(wm9081_reg_defaults), |
1321 | .reg_word_size = sizeof(u16), | 1321 | .reg_word_size = sizeof(u16), |
1322 | .reg_cache_default = wm9081_reg_defaults, | 1322 | .reg_cache_default = wm9081_reg_defaults, |
1323 | .volatile_register = wm9081_volatile_register, | 1323 | .volatile_register = wm9081_volatile_register, |
diff --git a/sound/soc/codecs/wm9705.c b/sound/soc/codecs/wm9705.c index e4d8f5339c51..a144acda751c 100644 --- a/sound/soc/codecs/wm9705.c +++ b/sound/soc/codecs/wm9705.c | |||
@@ -385,7 +385,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm9705 = { | |||
385 | .resume = wm9705_soc_resume, | 385 | .resume = wm9705_soc_resume, |
386 | .read = ac97_read, | 386 | .read = ac97_read, |
387 | .write = ac97_write, | 387 | .write = ac97_write, |
388 | .reg_cache_size = sizeof(wm9705_reg), | 388 | .reg_cache_size = ARRAY_SIZE(wm9705_reg), |
389 | .reg_word_size = sizeof(u16), | 389 | .reg_word_size = sizeof(u16), |
390 | .reg_cache_step = 2, | 390 | .reg_cache_step = 2, |
391 | .reg_cache_default = wm9705_reg, | 391 | .reg_cache_default = wm9705_reg, |
diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c index cebeb93c10c7..d2f224d62744 100644 --- a/sound/soc/codecs/wm9712.c +++ b/sound/soc/codecs/wm9712.c | |||
@@ -674,7 +674,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm9712 = { | |||
674 | .read = ac97_read, | 674 | .read = ac97_read, |
675 | .write = ac97_write, | 675 | .write = ac97_write, |
676 | .set_bias_level = wm9712_set_bias_level, | 676 | .set_bias_level = wm9712_set_bias_level, |
677 | .reg_cache_size = sizeof(wm9712_reg), | 677 | .reg_cache_size = ARRAY_SIZE(wm9712_reg), |
678 | .reg_word_size = sizeof(u16), | 678 | .reg_word_size = sizeof(u16), |
679 | .reg_cache_step = 2, | 679 | .reg_cache_step = 2, |
680 | .reg_cache_default = wm9712_reg, | 680 | .reg_cache_default = wm9712_reg, |
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c index 463917e762b5..7da13b07a53d 100644 --- a/sound/soc/codecs/wm9713.c +++ b/sound/soc/codecs/wm9713.c | |||
@@ -1257,7 +1257,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm9713 = { | |||
1257 | .read = ac97_read, | 1257 | .read = ac97_read, |
1258 | .write = ac97_write, | 1258 | .write = ac97_write, |
1259 | .set_bias_level = wm9713_set_bias_level, | 1259 | .set_bias_level = wm9713_set_bias_level, |
1260 | .reg_cache_size = sizeof(wm9713_reg), | 1260 | .reg_cache_size = ARRAY_SIZE(wm9713_reg), |
1261 | .reg_word_size = sizeof(u16), | 1261 | .reg_word_size = sizeof(u16), |
1262 | .reg_cache_step = 2, | 1262 | .reg_cache_step = 2, |
1263 | .reg_cache_default = wm9713_reg, | 1263 | .reg_cache_default = wm9713_reg, |