aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/mixart
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:10 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:20:55 -0500
commite23e7a1436207217000c2854214bc908936af3cb (patch)
treeaebb83a4e59dde76a79ac60b51b67849c75c545b /sound/pci/mixart
parent445a51b353c35fe54840c10352ef51152fbb94df (diff)
ALSA: pci: 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/pci/mixart')
-rw-r--r--sound/pci/mixart/mixart.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c
index 0762610c99c0..01f7f37a8410 100644
--- a/sound/pci/mixart/mixart.c
+++ b/sound/pci/mixart/mixart.c
@@ -1004,7 +1004,7 @@ static int snd_mixart_chip_dev_free(struct snd_device *device)
1004 1004
1005/* 1005/*
1006 */ 1006 */
1007static int __devinit snd_mixart_create(struct mixart_mgr *mgr, struct snd_card *card, int idx) 1007static int snd_mixart_create(struct mixart_mgr *mgr, struct snd_card *card, int idx)
1008{ 1008{
1009 int err; 1009 int err;
1010 struct snd_mixart *chip; 1010 struct snd_mixart *chip;
@@ -1180,7 +1180,7 @@ static void snd_mixart_proc_read(struct snd_info_entry *entry,
1180 } /* endif elf loaded */ 1180 } /* endif elf loaded */
1181} 1181}
1182 1182
1183static void __devinit snd_mixart_proc_init(struct snd_mixart *chip) 1183static void snd_mixart_proc_init(struct snd_mixart *chip)
1184{ 1184{
1185 struct snd_info_entry *entry; 1185 struct snd_info_entry *entry;
1186 1186
@@ -1209,8 +1209,8 @@ static void __devinit snd_mixart_proc_init(struct snd_mixart *chip)
1209/* 1209/*
1210 * probe function - creates the card manager 1210 * probe function - creates the card manager
1211 */ 1211 */
1212static int __devinit snd_mixart_probe(struct pci_dev *pci, 1212static int snd_mixart_probe(struct pci_dev *pci,
1213 const struct pci_device_id *pci_id) 1213 const struct pci_device_id *pci_id)
1214{ 1214{
1215 static int dev; 1215 static int dev;
1216 struct mixart_mgr *mgr; 1216 struct mixart_mgr *mgr;
@@ -1374,7 +1374,7 @@ static int __devinit snd_mixart_probe(struct pci_dev *pci,
1374 return 0; 1374 return 0;
1375} 1375}
1376 1376
1377static void __devexit snd_mixart_remove(struct pci_dev *pci) 1377static void snd_mixart_remove(struct pci_dev *pci)
1378{ 1378{
1379 snd_mixart_free(pci_get_drvdata(pci)); 1379 snd_mixart_free(pci_get_drvdata(pci));
1380 pci_set_drvdata(pci, NULL); 1380 pci_set_drvdata(pci, NULL);
@@ -1384,7 +1384,7 @@ static struct pci_driver mixart_driver = {
1384 .name = KBUILD_MODNAME, 1384 .name = KBUILD_MODNAME,
1385 .id_table = snd_mixart_ids, 1385 .id_table = snd_mixart_ids,
1386 .probe = snd_mixart_probe, 1386 .probe = snd_mixart_probe,
1387 .remove = __devexit_p(snd_mixart_remove), 1387 .remove = snd_mixart_remove,
1388}; 1388};
1389 1389
1390module_pci_driver(mixart_driver); 1390module_pci_driver(mixart_driver);