aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/cs5530.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/cs5530.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/cs5530.c')
-rw-r--r--sound/pci/cs5530.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sound/pci/cs5530.c b/sound/pci/cs5530.c
index d1cca2831575..dace827b45d1 100644
--- a/sound/pci/cs5530.c
+++ b/sound/pci/cs5530.c
@@ -88,13 +88,13 @@ static int snd_cs5530_dev_free(struct snd_device *device)
88 return snd_cs5530_free(chip); 88 return snd_cs5530_free(chip);
89} 89}
90 90
91static void __devexit snd_cs5530_remove(struct pci_dev *pci) 91static void snd_cs5530_remove(struct pci_dev *pci)
92{ 92{
93 snd_card_free(pci_get_drvdata(pci)); 93 snd_card_free(pci_get_drvdata(pci));
94 pci_set_drvdata(pci, NULL); 94 pci_set_drvdata(pci, NULL);
95} 95}
96 96
97static u8 __devinit snd_cs5530_mixer_read(unsigned long io, u8 reg) 97static u8 snd_cs5530_mixer_read(unsigned long io, u8 reg)
98{ 98{
99 outb(reg, io + 4); 99 outb(reg, io + 4);
100 udelay(20); 100 udelay(20);
@@ -103,9 +103,9 @@ static u8 __devinit snd_cs5530_mixer_read(unsigned long io, u8 reg)
103 return reg; 103 return reg;
104} 104}
105 105
106static int __devinit snd_cs5530_create(struct snd_card *card, 106static int snd_cs5530_create(struct snd_card *card,
107 struct pci_dev *pci, 107 struct pci_dev *pci,
108 struct snd_cs5530 **rchip) 108 struct snd_cs5530 **rchip)
109{ 109{
110 struct snd_cs5530 *chip; 110 struct snd_cs5530 *chip;
111 unsigned long sb_base; 111 unsigned long sb_base;
@@ -250,8 +250,8 @@ static int __devinit snd_cs5530_create(struct snd_card *card,
250 return 0; 250 return 0;
251} 251}
252 252
253static int __devinit snd_cs5530_probe(struct pci_dev *pci, 253static int snd_cs5530_probe(struct pci_dev *pci,
254 const struct pci_device_id *pci_id) 254 const struct pci_device_id *pci_id)
255{ 255{
256 static int dev; 256 static int dev;
257 struct snd_card *card; 257 struct snd_card *card;
@@ -294,7 +294,7 @@ static struct pci_driver cs5530_driver = {
294 .name = KBUILD_MODNAME, 294 .name = KBUILD_MODNAME,
295 .id_table = snd_cs5530_ids, 295 .id_table = snd_cs5530_ids,
296 .probe = snd_cs5530_probe, 296 .probe = snd_cs5530_probe,
297 .remove = __devexit_p(snd_cs5530_remove), 297 .remove = snd_cs5530_remove,
298}; 298};
299 299
300module_pci_driver(cs5530_driver); 300module_pci_driver(cs5530_driver);