aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/rme96.c
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/rme96.c
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/rme96.c')
-rw-r--r--sound/pci/rme96.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/sound/pci/rme96.c b/sound/pci/rme96.c
index 9b98dc406988..5fb88ac82aa9 100644
--- a/sound/pci/rme96.c
+++ b/sound/pci/rme96.c
@@ -270,8 +270,7 @@ snd_rme96_playback_pointer(struct snd_pcm_substream *substream);
270static snd_pcm_uframes_t 270static snd_pcm_uframes_t
271snd_rme96_capture_pointer(struct snd_pcm_substream *substream); 271snd_rme96_capture_pointer(struct snd_pcm_substream *substream);
272 272
273static void __devinit 273static void snd_rme96_proc_init(struct rme96 *rme96);
274snd_rme96_proc_init(struct rme96 *rme96);
275 274
276static int 275static int
277snd_rme96_create_switches(struct snd_card *card, 276snd_rme96_create_switches(struct snd_card *card,
@@ -1538,7 +1537,7 @@ snd_rme96_free_adat_pcm(struct snd_pcm *pcm)
1538 rme96->adat_pcm = NULL; 1537 rme96->adat_pcm = NULL;
1539} 1538}
1540 1539
1541static int __devinit 1540static int
1542snd_rme96_create(struct rme96 *rme96) 1541snd_rme96_create(struct rme96 *rme96)
1543{ 1542{
1544 struct pci_dev *pci = rme96->pci; 1543 struct pci_dev *pci = rme96->pci;
@@ -1786,8 +1785,7 @@ snd_rme96_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer
1786 } 1785 }
1787} 1786}
1788 1787
1789static void __devinit 1788static void snd_rme96_proc_init(struct rme96 *rme96)
1790snd_rme96_proc_init(struct rme96 *rme96)
1791{ 1789{
1792 struct snd_info_entry *entry; 1790 struct snd_info_entry *entry;
1793 1791
@@ -2326,7 +2324,7 @@ static void snd_rme96_card_free(struct snd_card *card)
2326 snd_rme96_free(card->private_data); 2324 snd_rme96_free(card->private_data);
2327} 2325}
2328 2326
2329static int __devinit 2327static int
2330snd_rme96_probe(struct pci_dev *pci, 2328snd_rme96_probe(struct pci_dev *pci,
2331 const struct pci_device_id *pci_id) 2329 const struct pci_device_id *pci_id)
2332{ 2330{
@@ -2389,7 +2387,7 @@ snd_rme96_probe(struct pci_dev *pci,
2389 return 0; 2387 return 0;
2390} 2388}
2391 2389
2392static void __devexit snd_rme96_remove(struct pci_dev *pci) 2390static void snd_rme96_remove(struct pci_dev *pci)
2393{ 2391{
2394 snd_card_free(pci_get_drvdata(pci)); 2392 snd_card_free(pci_get_drvdata(pci));
2395 pci_set_drvdata(pci, NULL); 2393 pci_set_drvdata(pci, NULL);
@@ -2399,7 +2397,7 @@ static struct pci_driver rme96_driver = {
2399 .name = KBUILD_MODNAME, 2397 .name = KBUILD_MODNAME,
2400 .id_table = snd_rme96_ids, 2398 .id_table = snd_rme96_ids,
2401 .probe = snd_rme96_probe, 2399 .probe = snd_rme96_probe,
2402 .remove = __devexit_p(snd_rme96_remove), 2400 .remove = snd_rme96_remove,
2403}; 2401};
2404 2402
2405module_pci_driver(rme96_driver); 2403module_pci_driver(rme96_driver);