aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/wm8350.c2
-rw-r--r--sound/soc/codecs/wm8731.c8
-rw-r--r--sound/soc/codecs/wm8900.c8
-rw-r--r--sound/soc/codecs/wm8903.c8
4 files changed, 13 insertions, 13 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
index d3562788d42b..359e5cc86f34 100644
--- a/sound/soc/codecs/wm8350.c
+++ b/sound/soc/codecs/wm8350.c
@@ -1574,7 +1574,7 @@ struct snd_soc_codec_device soc_codec_dev_wm8350 = {
1574}; 1574};
1575EXPORT_SYMBOL_GPL(soc_codec_dev_wm8350); 1575EXPORT_SYMBOL_GPL(soc_codec_dev_wm8350);
1576 1576
1577static int wm8350_codec_probe(struct platform_device *pdev) 1577static __devinit int wm8350_codec_probe(struct platform_device *pdev)
1578{ 1578{
1579 struct wm8350 *wm8350 = platform_get_drvdata(pdev); 1579 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
1580 struct wm8350_data *priv; 1580 struct wm8350_data *priv;
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c
index 9c9fc3b5a6c8..4cac3195bfa3 100644
--- a/sound/soc/codecs/wm8731.c
+++ b/sound/soc/codecs/wm8731.c
@@ -686,8 +686,8 @@ static struct spi_driver wm8731_spi_driver = {
686#endif /* CONFIG_SPI_MASTER */ 686#endif /* CONFIG_SPI_MASTER */
687 687
688#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) 688#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
689static int wm8731_i2c_probe(struct i2c_client *i2c, 689static __devinit int wm8731_i2c_probe(struct i2c_client *i2c,
690 const struct i2c_device_id *id) 690 const struct i2c_device_id *id)
691{ 691{
692 struct wm8731_priv *wm8731; 692 struct wm8731_priv *wm8731;
693 struct snd_soc_codec *codec; 693 struct snd_soc_codec *codec;
@@ -707,7 +707,7 @@ static int wm8731_i2c_probe(struct i2c_client *i2c,
707 return wm8731_register(wm8731); 707 return wm8731_register(wm8731);
708} 708}
709 709
710static int wm8731_i2c_remove(struct i2c_client *client) 710static __devexit int wm8731_i2c_remove(struct i2c_client *client)
711{ 711{
712 struct wm8731_priv *wm8731 = i2c_get_clientdata(client); 712 struct wm8731_priv *wm8731 = i2c_get_clientdata(client);
713 wm8731_unregister(wm8731); 713 wm8731_unregister(wm8731);
@@ -726,7 +726,7 @@ static struct i2c_driver wm8731_i2c_driver = {
726 .owner = THIS_MODULE, 726 .owner = THIS_MODULE,
727 }, 727 },
728 .probe = wm8731_i2c_probe, 728 .probe = wm8731_i2c_probe,
729 .remove = wm8731_i2c_remove, 729 .remove = __devexit_p(wm8731_i2c_remove),
730 .id_table = wm8731_i2c_id, 730 .id_table = wm8731_i2c_id,
731}; 731};
732#endif 732#endif
diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c
index 85c0f1bc6766..da5ca64f89bb 100644
--- a/sound/soc/codecs/wm8900.c
+++ b/sound/soc/codecs/wm8900.c
@@ -1272,8 +1272,8 @@ static int wm8900_resume(struct platform_device *pdev)
1272 1272
1273static struct snd_soc_codec *wm8900_codec; 1273static struct snd_soc_codec *wm8900_codec;
1274 1274
1275static int wm8900_i2c_probe(struct i2c_client *i2c, 1275static __devinit int wm8900_i2c_probe(struct i2c_client *i2c,
1276 const struct i2c_device_id *id) 1276 const struct i2c_device_id *id)
1277{ 1277{
1278 struct wm8900_priv *wm8900; 1278 struct wm8900_priv *wm8900;
1279 struct snd_soc_codec *codec; 1279 struct snd_soc_codec *codec;
@@ -1372,7 +1372,7 @@ err:
1372 return ret; 1372 return ret;
1373} 1373}
1374 1374
1375static int wm8900_i2c_remove(struct i2c_client *client) 1375static __devexit int wm8900_i2c_remove(struct i2c_client *client)
1376{ 1376{
1377 snd_soc_unregister_dai(&wm8900_dai); 1377 snd_soc_unregister_dai(&wm8900_dai);
1378 snd_soc_unregister_codec(wm8900_codec); 1378 snd_soc_unregister_codec(wm8900_codec);
@@ -1398,7 +1398,7 @@ static struct i2c_driver wm8900_i2c_driver = {
1398 .owner = THIS_MODULE, 1398 .owner = THIS_MODULE,
1399 }, 1399 },
1400 .probe = wm8900_i2c_probe, 1400 .probe = wm8900_i2c_probe,
1401 .remove = wm8900_i2c_remove, 1401 .remove = __devexit_p(wm8900_i2c_remove),
1402 .id_table = wm8900_i2c_id, 1402 .id_table = wm8900_i2c_id,
1403}; 1403};
1404 1404
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
index d36b2b1edf19..c6fa8a71b4dd 100644
--- a/sound/soc/codecs/wm8903.c
+++ b/sound/soc/codecs/wm8903.c
@@ -1562,8 +1562,8 @@ static int wm8903_resume(struct platform_device *pdev)
1562 1562
1563static struct snd_soc_codec *wm8903_codec; 1563static struct snd_soc_codec *wm8903_codec;
1564 1564
1565static int wm8903_i2c_probe(struct i2c_client *i2c, 1565static __devinit int wm8903_i2c_probe(struct i2c_client *i2c,
1566 const struct i2c_device_id *id) 1566 const struct i2c_device_id *id)
1567{ 1567{
1568 struct wm8903_priv *wm8903; 1568 struct wm8903_priv *wm8903;
1569 struct snd_soc_codec *codec; 1569 struct snd_soc_codec *codec;
@@ -1669,7 +1669,7 @@ err:
1669 return ret; 1669 return ret;
1670} 1670}
1671 1671
1672static int wm8903_i2c_remove(struct i2c_client *client) 1672static __devexit int wm8903_i2c_remove(struct i2c_client *client)
1673{ 1673{
1674 struct snd_soc_codec *codec = i2c_get_clientdata(client); 1674 struct snd_soc_codec *codec = i2c_get_clientdata(client);
1675 1675
@@ -1699,7 +1699,7 @@ static struct i2c_driver wm8903_i2c_driver = {
1699 .owner = THIS_MODULE, 1699 .owner = THIS_MODULE,
1700 }, 1700 },
1701 .probe = wm8903_i2c_probe, 1701 .probe = wm8903_i2c_probe,
1702 .remove = wm8903_i2c_remove, 1702 .remove = __devexit_p(wm8903_i2c_remove),
1703 .id_table = wm8903_i2c_id, 1703 .id_table = wm8903_i2c_id,
1704}; 1704};
1705 1705