diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-02-18 16:25:40 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-02-18 16:26:58 -0500 |
commit | c6f2981170272cce2c192087a16dd74dbde25ed2 (patch) | |
tree | 53b482c2e5fc318b29596ea3be43c3be40e7d89d /sound/soc/codecs/wm8903.c | |
parent | 519cf2df5fb50c6d24412b2421ce2d1ff0346163 (diff) |
ASoC: Add device init/exit annotations to new-style Wolfson CODEC drivers
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8903.c')
-rw-r--r-- | sound/soc/codecs/wm8903.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 | ||
1563 | static struct snd_soc_codec *wm8903_codec; | 1563 | static struct snd_soc_codec *wm8903_codec; |
1564 | 1564 | ||
1565 | static int wm8903_i2c_probe(struct i2c_client *i2c, | 1565 | static __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 | ||
1672 | static int wm8903_i2c_remove(struct i2c_client *client) | 1672 | static __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 | ||