aboutsummaryrefslogtreecommitdiffstats
path: root/sound/atmel/abdac.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:13 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:22:12 -0500
commit61dc674c3b7cc970e62f819c2177059dfdb8b870 (patch)
tree31973cab4df514f03783e92765c007cbaab0474d /sound/atmel/abdac.c
parente21596bba143563cd8a2071ea0caff3256fad735 (diff)
ALSA: atmel: 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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/atmel/abdac.c')
-rw-r--r--sound/atmel/abdac.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/atmel/abdac.c b/sound/atmel/abdac.c
index 277ebce23a45..071ce1b5f2b4 100644
--- a/sound/atmel/abdac.c
+++ b/sound/atmel/abdac.c
@@ -309,7 +309,7 @@ static struct snd_pcm_ops atmel_abdac_ops = {
309 .pointer = atmel_abdac_pointer, 309 .pointer = atmel_abdac_pointer,
310}; 310};
311 311
312static int __devinit atmel_abdac_pcm_new(struct atmel_abdac *dac) 312static int atmel_abdac_pcm_new(struct atmel_abdac *dac)
313{ 313{
314 struct snd_pcm_hardware hw = atmel_abdac_hw; 314 struct snd_pcm_hardware hw = atmel_abdac_hw;
315 struct snd_pcm *pcm; 315 struct snd_pcm *pcm;
@@ -386,7 +386,7 @@ static int set_sample_rates(struct atmel_abdac *dac)
386 return retval; 386 return retval;
387} 387}
388 388
389static int __devinit atmel_abdac_probe(struct platform_device *pdev) 389static int atmel_abdac_probe(struct platform_device *pdev)
390{ 390{
391 struct snd_card *card; 391 struct snd_card *card;
392 struct atmel_abdac *dac; 392 struct atmel_abdac *dac;
@@ -567,7 +567,7 @@ static SIMPLE_DEV_PM_OPS(atmel_abdac_pm, atmel_abdac_suspend, atmel_abdac_resume
567#define ATMEL_ABDAC_PM_OPS NULL 567#define ATMEL_ABDAC_PM_OPS NULL
568#endif 568#endif
569 569
570static int __devexit atmel_abdac_remove(struct platform_device *pdev) 570static int atmel_abdac_remove(struct platform_device *pdev)
571{ 571{
572 struct snd_card *card = platform_get_drvdata(pdev); 572 struct snd_card *card = platform_get_drvdata(pdev);
573 struct atmel_abdac *dac = get_dac(card); 573 struct atmel_abdac *dac = get_dac(card);
@@ -589,7 +589,7 @@ static int __devexit atmel_abdac_remove(struct platform_device *pdev)
589} 589}
590 590
591static struct platform_driver atmel_abdac_driver = { 591static struct platform_driver atmel_abdac_driver = {
592 .remove = __devexit_p(atmel_abdac_remove), 592 .remove = atmel_abdac_remove,
593 .driver = { 593 .driver = {
594 .name = "atmel_abdac", 594 .name = "atmel_abdac",
595 .owner = THIS_MODULE, 595 .owner = THIS_MODULE,