diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-07 09:26:33 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-09 10:31:41 -0500 |
commit | 4652a0d0c48324e1227e2b2500d17045840e2fb3 (patch) | |
tree | 6c6846b28d7be9ddbe1a6c4dd14af3df7f59f780 /sound/soc/tegra | |
parent | 468c11754b5b543ab2d03ee5cc2e658f50cb1e59 (diff) |
ASoC: tegra: 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/tegra')
-rw-r--r-- | sound/soc/tegra/tegra20_das.c | 6 | ||||
-rw-r--r-- | sound/soc/tegra/tegra20_i2s.c | 6 | ||||
-rw-r--r-- | sound/soc/tegra/tegra20_spdif.c | 6 | ||||
-rw-r--r-- | sound/soc/tegra/tegra30_ahub.c | 8 | ||||
-rw-r--r-- | sound/soc/tegra/tegra30_i2s.c | 6 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_alc5632.c | 6 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_pcm.c | 4 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_wm8753.c | 6 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_wm8903.c | 6 | ||||
-rw-r--r-- | sound/soc/tegra/trimslice.c | 6 |
10 files changed, 30 insertions, 30 deletions
diff --git a/sound/soc/tegra/tegra20_das.c b/sound/soc/tegra/tegra20_das.c index 49653375970b..654318483877 100644 --- a/sound/soc/tegra/tegra20_das.c +++ b/sound/soc/tegra/tegra20_das.c | |||
@@ -131,7 +131,7 @@ static const struct regmap_config tegra20_das_regmap_config = { | |||
131 | .cache_type = REGCACHE_RBTREE, | 131 | .cache_type = REGCACHE_RBTREE, |
132 | }; | 132 | }; |
133 | 133 | ||
134 | static int __devinit tegra20_das_probe(struct platform_device *pdev) | 134 | static int tegra20_das_probe(struct platform_device *pdev) |
135 | { | 135 | { |
136 | struct resource *res, *region; | 136 | struct resource *res, *region; |
137 | void __iomem *regs; | 137 | void __iomem *regs; |
@@ -200,7 +200,7 @@ err: | |||
200 | return ret; | 200 | return ret; |
201 | } | 201 | } |
202 | 202 | ||
203 | static int __devexit tegra20_das_remove(struct platform_device *pdev) | 203 | static int tegra20_das_remove(struct platform_device *pdev) |
204 | { | 204 | { |
205 | if (!das) | 205 | if (!das) |
206 | return -ENODEV; | 206 | return -ENODEV; |
@@ -217,7 +217,7 @@ static const struct of_device_id tegra20_das_of_match[] = { | |||
217 | 217 | ||
218 | static struct platform_driver tegra20_das_driver = { | 218 | static struct platform_driver tegra20_das_driver = { |
219 | .probe = tegra20_das_probe, | 219 | .probe = tegra20_das_probe, |
220 | .remove = __devexit_p(tegra20_das_remove), | 220 | .remove = tegra20_das_remove, |
221 | .driver = { | 221 | .driver = { |
222 | .name = DRV_NAME, | 222 | .name = DRV_NAME, |
223 | .owner = THIS_MODULE, | 223 | .owner = THIS_MODULE, |
diff --git a/sound/soc/tegra/tegra20_i2s.c b/sound/soc/tegra/tegra20_i2s.c index 2ae8af86edbd..caa772de5a18 100644 --- a/sound/soc/tegra/tegra20_i2s.c +++ b/sound/soc/tegra/tegra20_i2s.c | |||
@@ -331,7 +331,7 @@ static const struct regmap_config tegra20_i2s_regmap_config = { | |||
331 | .cache_type = REGCACHE_RBTREE, | 331 | .cache_type = REGCACHE_RBTREE, |
332 | }; | 332 | }; |
333 | 333 | ||
334 | static __devinit int tegra20_i2s_platform_probe(struct platform_device *pdev) | 334 | static int tegra20_i2s_platform_probe(struct platform_device *pdev) |
335 | { | 335 | { |
336 | struct tegra20_i2s *i2s; | 336 | struct tegra20_i2s *i2s; |
337 | struct resource *mem, *memregion, *dmareq; | 337 | struct resource *mem, *memregion, *dmareq; |
@@ -447,7 +447,7 @@ err: | |||
447 | return ret; | 447 | return ret; |
448 | } | 448 | } |
449 | 449 | ||
450 | static int __devexit tegra20_i2s_platform_remove(struct platform_device *pdev) | 450 | static int tegra20_i2s_platform_remove(struct platform_device *pdev) |
451 | { | 451 | { |
452 | struct tegra20_i2s *i2s = dev_get_drvdata(&pdev->dev); | 452 | struct tegra20_i2s *i2s = dev_get_drvdata(&pdev->dev); |
453 | 453 | ||
@@ -481,7 +481,7 @@ static struct platform_driver tegra20_i2s_driver = { | |||
481 | .pm = &tegra20_i2s_pm_ops, | 481 | .pm = &tegra20_i2s_pm_ops, |
482 | }, | 482 | }, |
483 | .probe = tegra20_i2s_platform_probe, | 483 | .probe = tegra20_i2s_platform_probe, |
484 | .remove = __devexit_p(tegra20_i2s_platform_remove), | 484 | .remove = tegra20_i2s_platform_remove, |
485 | }; | 485 | }; |
486 | module_platform_driver(tegra20_i2s_driver); | 486 | module_platform_driver(tegra20_i2s_driver); |
487 | 487 | ||
diff --git a/sound/soc/tegra/tegra20_spdif.c b/sound/soc/tegra/tegra20_spdif.c index d9641ef7b1ee..04771d14d343 100644 --- a/sound/soc/tegra/tegra20_spdif.c +++ b/sound/soc/tegra/tegra20_spdif.c | |||
@@ -257,7 +257,7 @@ static const struct regmap_config tegra20_spdif_regmap_config = { | |||
257 | .cache_type = REGCACHE_RBTREE, | 257 | .cache_type = REGCACHE_RBTREE, |
258 | }; | 258 | }; |
259 | 259 | ||
260 | static __devinit int tegra20_spdif_platform_probe(struct platform_device *pdev) | 260 | static int tegra20_spdif_platform_probe(struct platform_device *pdev) |
261 | { | 261 | { |
262 | struct tegra20_spdif *spdif; | 262 | struct tegra20_spdif *spdif; |
263 | struct resource *mem, *memregion, *dmareq; | 263 | struct resource *mem, *memregion, *dmareq; |
@@ -357,7 +357,7 @@ err: | |||
357 | return ret; | 357 | return ret; |
358 | } | 358 | } |
359 | 359 | ||
360 | static int __devexit tegra20_spdif_platform_remove(struct platform_device *pdev) | 360 | static int tegra20_spdif_platform_remove(struct platform_device *pdev) |
361 | { | 361 | { |
362 | struct tegra20_spdif *spdif = dev_get_drvdata(&pdev->dev); | 362 | struct tegra20_spdif *spdif = dev_get_drvdata(&pdev->dev); |
363 | 363 | ||
@@ -385,7 +385,7 @@ static struct platform_driver tegra20_spdif_driver = { | |||
385 | .pm = &tegra20_spdif_pm_ops, | 385 | .pm = &tegra20_spdif_pm_ops, |
386 | }, | 386 | }, |
387 | .probe = tegra20_spdif_platform_probe, | 387 | .probe = tegra20_spdif_platform_probe, |
388 | .remove = __devexit_p(tegra20_spdif_platform_remove), | 388 | .remove = tegra20_spdif_platform_remove, |
389 | }; | 389 | }; |
390 | 390 | ||
391 | module_platform_driver(tegra20_spdif_driver); | 391 | module_platform_driver(tegra20_spdif_driver); |
diff --git a/sound/soc/tegra/tegra30_ahub.c b/sound/soc/tegra/tegra30_ahub.c index 2269170b0df4..fd596d2a19b4 100644 --- a/sound/soc/tegra/tegra30_ahub.c +++ b/sound/soc/tegra/tegra30_ahub.c | |||
@@ -300,7 +300,7 @@ static const char * const configlink_clocks[] = { | |||
300 | "spdif_in", | 300 | "spdif_in", |
301 | }; | 301 | }; |
302 | 302 | ||
303 | struct of_dev_auxdata ahub_auxdata[] __devinitdata = { | 303 | struct of_dev_auxdata ahub_auxdata[] = { |
304 | OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080300, "tegra30-i2s.0", NULL), | 304 | OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080300, "tegra30-i2s.0", NULL), |
305 | OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080400, "tegra30-i2s.1", NULL), | 305 | OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080400, "tegra30-i2s.1", NULL), |
306 | OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080500, "tegra30-i2s.2", NULL), | 306 | OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080500, "tegra30-i2s.2", NULL), |
@@ -434,7 +434,7 @@ static const struct regmap_config tegra30_ahub_ahub_regmap_config = { | |||
434 | .cache_type = REGCACHE_RBTREE, | 434 | .cache_type = REGCACHE_RBTREE, |
435 | }; | 435 | }; |
436 | 436 | ||
437 | static int __devinit tegra30_ahub_probe(struct platform_device *pdev) | 437 | static int tegra30_ahub_probe(struct platform_device *pdev) |
438 | { | 438 | { |
439 | struct clk *clk; | 439 | struct clk *clk; |
440 | int i; | 440 | int i; |
@@ -586,7 +586,7 @@ err: | |||
586 | return ret; | 586 | return ret; |
587 | } | 587 | } |
588 | 588 | ||
589 | static int __devexit tegra30_ahub_remove(struct platform_device *pdev) | 589 | static int tegra30_ahub_remove(struct platform_device *pdev) |
590 | { | 590 | { |
591 | if (!ahub) | 591 | if (!ahub) |
592 | return -ENODEV; | 592 | return -ENODEV; |
@@ -615,7 +615,7 @@ static const struct dev_pm_ops tegra30_ahub_pm_ops = { | |||
615 | 615 | ||
616 | static struct platform_driver tegra30_ahub_driver = { | 616 | static struct platform_driver tegra30_ahub_driver = { |
617 | .probe = tegra30_ahub_probe, | 617 | .probe = tegra30_ahub_probe, |
618 | .remove = __devexit_p(tegra30_ahub_remove), | 618 | .remove = tegra30_ahub_remove, |
619 | .driver = { | 619 | .driver = { |
620 | .name = DRV_NAME, | 620 | .name = DRV_NAME, |
621 | .owner = THIS_MODULE, | 621 | .owner = THIS_MODULE, |
diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c index bf0e089e7997..27e91dd0b91c 100644 --- a/sound/soc/tegra/tegra30_i2s.c +++ b/sound/soc/tegra/tegra30_i2s.c | |||
@@ -391,7 +391,7 @@ static const struct regmap_config tegra30_i2s_regmap_config = { | |||
391 | .cache_type = REGCACHE_RBTREE, | 391 | .cache_type = REGCACHE_RBTREE, |
392 | }; | 392 | }; |
393 | 393 | ||
394 | static __devinit int tegra30_i2s_platform_probe(struct platform_device *pdev) | 394 | static int tegra30_i2s_platform_probe(struct platform_device *pdev) |
395 | { | 395 | { |
396 | struct tegra30_i2s *i2s; | 396 | struct tegra30_i2s *i2s; |
397 | u32 cif_ids[2]; | 397 | u32 cif_ids[2]; |
@@ -492,7 +492,7 @@ err: | |||
492 | return ret; | 492 | return ret; |
493 | } | 493 | } |
494 | 494 | ||
495 | static int __devexit tegra30_i2s_platform_remove(struct platform_device *pdev) | 495 | static int tegra30_i2s_platform_remove(struct platform_device *pdev) |
496 | { | 496 | { |
497 | struct tegra30_i2s *i2s = dev_get_drvdata(&pdev->dev); | 497 | struct tegra30_i2s *i2s = dev_get_drvdata(&pdev->dev); |
498 | 498 | ||
@@ -526,7 +526,7 @@ static struct platform_driver tegra30_i2s_driver = { | |||
526 | .pm = &tegra30_i2s_pm_ops, | 526 | .pm = &tegra30_i2s_pm_ops, |
527 | }, | 527 | }, |
528 | .probe = tegra30_i2s_platform_probe, | 528 | .probe = tegra30_i2s_platform_probe, |
529 | .remove = __devexit_p(tegra30_i2s_platform_remove), | 529 | .remove = tegra30_i2s_platform_remove, |
530 | }; | 530 | }; |
531 | module_platform_driver(tegra30_i2s_driver); | 531 | module_platform_driver(tegra30_i2s_driver); |
532 | 532 | ||
diff --git a/sound/soc/tegra/tegra_alc5632.c b/sound/soc/tegra/tegra_alc5632.c index 523795a6e83e..c80adb9da472 100644 --- a/sound/soc/tegra/tegra_alc5632.c +++ b/sound/soc/tegra/tegra_alc5632.c | |||
@@ -150,7 +150,7 @@ static struct snd_soc_card snd_soc_tegra_alc5632 = { | |||
150 | .fully_routed = true, | 150 | .fully_routed = true, |
151 | }; | 151 | }; |
152 | 152 | ||
153 | static __devinit int tegra_alc5632_probe(struct platform_device *pdev) | 153 | static int tegra_alc5632_probe(struct platform_device *pdev) |
154 | { | 154 | { |
155 | struct device_node *np = pdev->dev.of_node; | 155 | struct device_node *np = pdev->dev.of_node; |
156 | struct snd_soc_card *card = &snd_soc_tegra_alc5632; | 156 | struct snd_soc_card *card = &snd_soc_tegra_alc5632; |
@@ -227,7 +227,7 @@ err: | |||
227 | return ret; | 227 | return ret; |
228 | } | 228 | } |
229 | 229 | ||
230 | static int __devexit tegra_alc5632_remove(struct platform_device *pdev) | 230 | static int tegra_alc5632_remove(struct platform_device *pdev) |
231 | { | 231 | { |
232 | struct snd_soc_card *card = platform_get_drvdata(pdev); | 232 | struct snd_soc_card *card = platform_get_drvdata(pdev); |
233 | struct tegra_alc5632 *machine = snd_soc_card_get_drvdata(card); | 233 | struct tegra_alc5632 *machine = snd_soc_card_get_drvdata(card); |
@@ -255,7 +255,7 @@ static struct platform_driver tegra_alc5632_driver = { | |||
255 | .of_match_table = tegra_alc5632_of_match, | 255 | .of_match_table = tegra_alc5632_of_match, |
256 | }, | 256 | }, |
257 | .probe = tegra_alc5632_probe, | 257 | .probe = tegra_alc5632_probe, |
258 | .remove = __devexit_p(tegra_alc5632_remove), | 258 | .remove = tegra_alc5632_remove, |
259 | }; | 259 | }; |
260 | module_platform_driver(tegra_alc5632_driver); | 260 | module_platform_driver(tegra_alc5632_driver); |
261 | 261 | ||
diff --git a/sound/soc/tegra/tegra_pcm.c b/sound/soc/tegra/tegra_pcm.c index e18733963cb4..c925ab0adeb6 100644 --- a/sound/soc/tegra/tegra_pcm.c +++ b/sound/soc/tegra/tegra_pcm.c | |||
@@ -253,13 +253,13 @@ static struct snd_soc_platform_driver tegra_pcm_platform = { | |||
253 | .pcm_free = tegra_pcm_free, | 253 | .pcm_free = tegra_pcm_free, |
254 | }; | 254 | }; |
255 | 255 | ||
256 | int __devinit tegra_pcm_platform_register(struct device *dev) | 256 | int tegra_pcm_platform_register(struct device *dev) |
257 | { | 257 | { |
258 | return snd_soc_register_platform(dev, &tegra_pcm_platform); | 258 | return snd_soc_register_platform(dev, &tegra_pcm_platform); |
259 | } | 259 | } |
260 | EXPORT_SYMBOL_GPL(tegra_pcm_platform_register); | 260 | EXPORT_SYMBOL_GPL(tegra_pcm_platform_register); |
261 | 261 | ||
262 | void __devexit tegra_pcm_platform_unregister(struct device *dev) | 262 | void tegra_pcm_platform_unregister(struct device *dev) |
263 | { | 263 | { |
264 | snd_soc_unregister_platform(dev); | 264 | snd_soc_unregister_platform(dev); |
265 | } | 265 | } |
diff --git a/sound/soc/tegra/tegra_wm8753.c b/sound/soc/tegra/tegra_wm8753.c index effe5b41b5f9..c8ef88a67c59 100644 --- a/sound/soc/tegra/tegra_wm8753.c +++ b/sound/soc/tegra/tegra_wm8753.c | |||
@@ -122,7 +122,7 @@ static struct snd_soc_card snd_soc_tegra_wm8753 = { | |||
122 | .fully_routed = true, | 122 | .fully_routed = true, |
123 | }; | 123 | }; |
124 | 124 | ||
125 | static __devinit int tegra_wm8753_driver_probe(struct platform_device *pdev) | 125 | static int tegra_wm8753_driver_probe(struct platform_device *pdev) |
126 | { | 126 | { |
127 | struct snd_soc_card *card = &snd_soc_tegra_wm8753; | 127 | struct snd_soc_card *card = &snd_soc_tegra_wm8753; |
128 | struct tegra_wm8753 *machine; | 128 | struct tegra_wm8753 *machine; |
@@ -188,7 +188,7 @@ err: | |||
188 | return ret; | 188 | return ret; |
189 | } | 189 | } |
190 | 190 | ||
191 | static int __devexit tegra_wm8753_driver_remove(struct platform_device *pdev) | 191 | static int tegra_wm8753_driver_remove(struct platform_device *pdev) |
192 | { | 192 | { |
193 | struct snd_soc_card *card = platform_get_drvdata(pdev); | 193 | struct snd_soc_card *card = platform_get_drvdata(pdev); |
194 | struct tegra_wm8753 *machine = snd_soc_card_get_drvdata(card); | 194 | struct tegra_wm8753 *machine = snd_soc_card_get_drvdata(card); |
@@ -213,7 +213,7 @@ static struct platform_driver tegra_wm8753_driver = { | |||
213 | .of_match_table = tegra_wm8753_of_match, | 213 | .of_match_table = tegra_wm8753_of_match, |
214 | }, | 214 | }, |
215 | .probe = tegra_wm8753_driver_probe, | 215 | .probe = tegra_wm8753_driver_probe, |
216 | .remove = __devexit_p(tegra_wm8753_driver_remove), | 216 | .remove = tegra_wm8753_driver_remove, |
217 | }; | 217 | }; |
218 | module_platform_driver(tegra_wm8753_driver); | 218 | module_platform_driver(tegra_wm8753_driver); |
219 | 219 | ||
diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c index 0f794126fbe4..bbd79bf56303 100644 --- a/sound/soc/tegra/tegra_wm8903.c +++ b/sound/soc/tegra/tegra_wm8903.c | |||
@@ -252,7 +252,7 @@ static struct snd_soc_card snd_soc_tegra_wm8903 = { | |||
252 | .fully_routed = true, | 252 | .fully_routed = true, |
253 | }; | 253 | }; |
254 | 254 | ||
255 | static __devinit int tegra_wm8903_driver_probe(struct platform_device *pdev) | 255 | static int tegra_wm8903_driver_probe(struct platform_device *pdev) |
256 | { | 256 | { |
257 | struct device_node *np = pdev->dev.of_node; | 257 | struct device_node *np = pdev->dev.of_node; |
258 | struct snd_soc_card *card = &snd_soc_tegra_wm8903; | 258 | struct snd_soc_card *card = &snd_soc_tegra_wm8903; |
@@ -402,7 +402,7 @@ err: | |||
402 | return ret; | 402 | return ret; |
403 | } | 403 | } |
404 | 404 | ||
405 | static int __devexit tegra_wm8903_driver_remove(struct platform_device *pdev) | 405 | static int tegra_wm8903_driver_remove(struct platform_device *pdev) |
406 | { | 406 | { |
407 | struct snd_soc_card *card = platform_get_drvdata(pdev); | 407 | struct snd_soc_card *card = platform_get_drvdata(pdev); |
408 | struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card); | 408 | struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card); |
@@ -430,7 +430,7 @@ static struct platform_driver tegra_wm8903_driver = { | |||
430 | .of_match_table = tegra_wm8903_of_match, | 430 | .of_match_table = tegra_wm8903_of_match, |
431 | }, | 431 | }, |
432 | .probe = tegra_wm8903_driver_probe, | 432 | .probe = tegra_wm8903_driver_probe, |
433 | .remove = __devexit_p(tegra_wm8903_driver_remove), | 433 | .remove = tegra_wm8903_driver_remove, |
434 | }; | 434 | }; |
435 | module_platform_driver(tegra_wm8903_driver); | 435 | module_platform_driver(tegra_wm8903_driver); |
436 | 436 | ||
diff --git a/sound/soc/tegra/trimslice.c b/sound/soc/tegra/trimslice.c index 4a255a4d0c47..7fcf6c2297db 100644 --- a/sound/soc/tegra/trimslice.c +++ b/sound/soc/tegra/trimslice.c | |||
@@ -120,7 +120,7 @@ static struct snd_soc_card snd_soc_trimslice = { | |||
120 | .fully_routed = true, | 120 | .fully_routed = true, |
121 | }; | 121 | }; |
122 | 122 | ||
123 | static __devinit int tegra_snd_trimslice_probe(struct platform_device *pdev) | 123 | static int tegra_snd_trimslice_probe(struct platform_device *pdev) |
124 | { | 124 | { |
125 | struct snd_soc_card *card = &snd_soc_trimslice; | 125 | struct snd_soc_card *card = &snd_soc_trimslice; |
126 | struct tegra_trimslice *trimslice; | 126 | struct tegra_trimslice *trimslice; |
@@ -183,7 +183,7 @@ err: | |||
183 | return ret; | 183 | return ret; |
184 | } | 184 | } |
185 | 185 | ||
186 | static int __devexit tegra_snd_trimslice_remove(struct platform_device *pdev) | 186 | static int tegra_snd_trimslice_remove(struct platform_device *pdev) |
187 | { | 187 | { |
188 | struct snd_soc_card *card = platform_get_drvdata(pdev); | 188 | struct snd_soc_card *card = platform_get_drvdata(pdev); |
189 | struct tegra_trimslice *trimslice = snd_soc_card_get_drvdata(card); | 189 | struct tegra_trimslice *trimslice = snd_soc_card_get_drvdata(card); |
@@ -208,7 +208,7 @@ static struct platform_driver tegra_snd_trimslice_driver = { | |||
208 | .of_match_table = trimslice_of_match, | 208 | .of_match_table = trimslice_of_match, |
209 | }, | 209 | }, |
210 | .probe = tegra_snd_trimslice_probe, | 210 | .probe = tegra_snd_trimslice_probe, |
211 | .remove = __devexit_p(tegra_snd_trimslice_remove), | 211 | .remove = tegra_snd_trimslice_remove, |
212 | }; | 212 | }; |
213 | module_platform_driver(tegra_snd_trimslice_driver); | 213 | module_platform_driver(tegra_snd_trimslice_driver); |
214 | 214 | ||