aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/vx222
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/vx222
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/vx222')
-rw-r--r--sound/pci/vx222/vx222.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/vx222/vx222.c b/sound/pci/vx222/vx222.c
index fdfbaf857233..e2f1ab37e154 100644
--- a/sound/pci/vx222/vx222.c
+++ b/sound/pci/vx222/vx222.c
@@ -134,9 +134,9 @@ static int snd_vx222_dev_free(struct snd_device *device)
134} 134}
135 135
136 136
137static int __devinit snd_vx222_create(struct snd_card *card, struct pci_dev *pci, 137static int snd_vx222_create(struct snd_card *card, struct pci_dev *pci,
138 struct snd_vx_hardware *hw, 138 struct snd_vx_hardware *hw,
139 struct snd_vx222 **rchip) 139 struct snd_vx222 **rchip)
140{ 140{
141 struct vx_core *chip; 141 struct vx_core *chip;
142 struct snd_vx222 *vx; 142 struct snd_vx222 *vx;
@@ -188,8 +188,8 @@ static int __devinit snd_vx222_create(struct snd_card *card, struct pci_dev *pci
188} 188}
189 189
190 190
191static int __devinit snd_vx222_probe(struct pci_dev *pci, 191static int snd_vx222_probe(struct pci_dev *pci,
192 const struct pci_device_id *pci_id) 192 const struct pci_device_id *pci_id)
193{ 193{
194 static int dev; 194 static int dev;
195 struct snd_card *card; 195 struct snd_card *card;
@@ -251,7 +251,7 @@ static int __devinit snd_vx222_probe(struct pci_dev *pci,
251 return 0; 251 return 0;
252} 252}
253 253
254static void __devexit snd_vx222_remove(struct pci_dev *pci) 254static void snd_vx222_remove(struct pci_dev *pci)
255{ 255{
256 snd_card_free(pci_get_drvdata(pci)); 256 snd_card_free(pci_get_drvdata(pci));
257 pci_set_drvdata(pci, NULL); 257 pci_set_drvdata(pci, NULL);
@@ -300,7 +300,7 @@ static struct pci_driver vx222_driver = {
300 .name = KBUILD_MODNAME, 300 .name = KBUILD_MODNAME,
301 .id_table = snd_vx222_ids, 301 .id_table = snd_vx222_ids,
302 .probe = snd_vx222_probe, 302 .probe = snd_vx222_probe,
303 .remove = __devexit_p(snd_vx222_remove), 303 .remove = snd_vx222_remove,
304 .driver = { 304 .driver = {
305 .pm = SND_VX222_PM_OPS, 305 .pm = SND_VX222_PM_OPS,
306 }, 306 },