aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ad1836.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-07 09:26:37 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 10:31:51 -0500
commit7a79e94e973639da7bf1b8242d504f9db9e5e848 (patch)
tree2bae8c8a5e1b350e2df0dbd6a80eff2dcc943ee1 /sound/soc/codecs/ad1836.c
parente51e97eecdb2a4415aac5f1a69aa66ed787f1217 (diff)
ASoC: codecs: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/ad1836.c')
-rw-r--r--sound/soc/codecs/ad1836.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/ad1836.c b/sound/soc/codecs/ad1836.c
index dce6ebeef452..9a92b7962f41 100644
--- a/sound/soc/codecs/ad1836.c
+++ b/sound/soc/codecs/ad1836.c
@@ -360,7 +360,7 @@ static const struct regmap_config ad1836_regmap_config = {
360 .cache_type = REGCACHE_RBTREE, 360 .cache_type = REGCACHE_RBTREE,
361}; 361};
362 362
363static int __devinit ad1836_spi_probe(struct spi_device *spi) 363static int ad1836_spi_probe(struct spi_device *spi)
364{ 364{
365 struct ad1836_priv *ad1836; 365 struct ad1836_priv *ad1836;
366 int ret; 366 int ret;
@@ -383,7 +383,7 @@ static int __devinit ad1836_spi_probe(struct spi_device *spi)
383 return ret; 383 return ret;
384} 384}
385 385
386static int __devexit ad1836_spi_remove(struct spi_device *spi) 386static int ad1836_spi_remove(struct spi_device *spi)
387{ 387{
388 snd_soc_unregister_codec(&spi->dev); 388 snd_soc_unregister_codec(&spi->dev);
389 return 0; 389 return 0;
@@ -405,7 +405,7 @@ static struct spi_driver ad1836_spi_driver = {
405 .owner = THIS_MODULE, 405 .owner = THIS_MODULE,
406 }, 406 },
407 .probe = ad1836_spi_probe, 407 .probe = ad1836_spi_probe,
408 .remove = __devexit_p(ad1836_spi_remove), 408 .remove = ad1836_spi_remove,
409 .id_table = ad1836_ids, 409 .id_table = ad1836_ids,
410}; 410};
411 411