diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-12 09:13:00 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-12 09:13:00 -0500 |
commit | 735fe4cfbc3cedea41bd0ed31955054dae6beb46 (patch) | |
tree | c9386395fe625bb364858479baee88061e9d3be5 /sound | |
parent | 03e7a35c0ef7a462385fb6a301dfc1b287cac6de (diff) |
ASoC: Add missing __devexit and __devinit annotations
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/da7210.c | 6 | ||||
-rw-r--r-- | sound/soc/codecs/tlv320dac33.c | 6 | ||||
-rw-r--r-- | sound/soc/codecs/tpa6130a2.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sound/soc/codecs/da7210.c b/sound/soc/codecs/da7210.c index fbf3ab482015..cf2975a7294a 100644 --- a/sound/soc/codecs/da7210.c +++ b/sound/soc/codecs/da7210.c | |||
@@ -471,8 +471,8 @@ init_err: | |||
471 | } | 471 | } |
472 | 472 | ||
473 | #if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) | 473 | #if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) |
474 | static int da7210_i2c_probe(struct i2c_client *i2c, | 474 | static int __devinit da7210_i2c_probe(struct i2c_client *i2c, |
475 | const struct i2c_device_id *id) | 475 | const struct i2c_device_id *id) |
476 | { | 476 | { |
477 | struct da7210_priv *da7210; | 477 | struct da7210_priv *da7210; |
478 | struct snd_soc_codec *codec; | 478 | struct snd_soc_codec *codec; |
@@ -495,7 +495,7 @@ static int da7210_i2c_probe(struct i2c_client *i2c, | |||
495 | return ret; | 495 | return ret; |
496 | } | 496 | } |
497 | 497 | ||
498 | static int da7210_i2c_remove(struct i2c_client *client) | 498 | static int __devexit da7210_i2c_remove(struct i2c_client *client) |
499 | { | 499 | { |
500 | struct da7210_priv *da7210 = i2c_get_clientdata(client); | 500 | struct da7210_priv *da7210 = i2c_get_clientdata(client); |
501 | 501 | ||
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index 3ef3255cd1e7..2df9c20b7d52 100644 --- a/sound/soc/codecs/tlv320dac33.c +++ b/sound/soc/codecs/tlv320dac33.c | |||
@@ -1191,8 +1191,8 @@ struct snd_soc_dai dac33_dai = { | |||
1191 | }; | 1191 | }; |
1192 | EXPORT_SYMBOL_GPL(dac33_dai); | 1192 | EXPORT_SYMBOL_GPL(dac33_dai); |
1193 | 1193 | ||
1194 | static int dac33_i2c_probe(struct i2c_client *client, | 1194 | static int __devinit dac33_i2c_probe(struct i2c_client *client, |
1195 | const struct i2c_device_id *id) | 1195 | const struct i2c_device_id *id) |
1196 | { | 1196 | { |
1197 | struct tlv320dac33_platform_data *pdata; | 1197 | struct tlv320dac33_platform_data *pdata; |
1198 | struct tlv320dac33_priv *dac33; | 1198 | struct tlv320dac33_priv *dac33; |
@@ -1345,7 +1345,7 @@ error_reg: | |||
1345 | return ret; | 1345 | return ret; |
1346 | } | 1346 | } |
1347 | 1347 | ||
1348 | static int dac33_i2c_remove(struct i2c_client *client) | 1348 | static int __devexit dac33_i2c_remove(struct i2c_client *client) |
1349 | { | 1349 | { |
1350 | struct tlv320dac33_priv *dac33; | 1350 | struct tlv320dac33_priv *dac33; |
1351 | 1351 | ||
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c index 8b27281e62a1..958d49c969ac 100644 --- a/sound/soc/codecs/tpa6130a2.c +++ b/sound/soc/codecs/tpa6130a2.c | |||
@@ -379,8 +379,8 @@ int tpa6130a2_add_controls(struct snd_soc_codec *codec) | |||
379 | } | 379 | } |
380 | EXPORT_SYMBOL_GPL(tpa6130a2_add_controls); | 380 | EXPORT_SYMBOL_GPL(tpa6130a2_add_controls); |
381 | 381 | ||
382 | static int tpa6130a2_probe(struct i2c_client *client, | 382 | static int __devinit tpa6130a2_probe(struct i2c_client *client, |
383 | const struct i2c_device_id *id) | 383 | const struct i2c_device_id *id) |
384 | { | 384 | { |
385 | struct device *dev; | 385 | struct device *dev; |
386 | struct tpa6130a2_data *data; | 386 | struct tpa6130a2_data *data; |
@@ -479,7 +479,7 @@ err_gpio: | |||
479 | return ret; | 479 | return ret; |
480 | } | 480 | } |
481 | 481 | ||
482 | static int tpa6130a2_remove(struct i2c_client *client) | 482 | static int __devexit tpa6130a2_remove(struct i2c_client *client) |
483 | { | 483 | { |
484 | struct tpa6130a2_data *data = i2c_get_clientdata(client); | 484 | struct tpa6130a2_data *data = i2c_get_clientdata(client); |
485 | 485 | ||