aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/aw2
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/aw2
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/aw2')
-rw-r--r--sound/pci/aw2/aw2-alsa.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/sound/pci/aw2/aw2-alsa.c b/sound/pci/aw2/aw2-alsa.c
index 0f804741825f..08e9a4702cbc 100644
--- a/sound/pci/aw2/aw2-alsa.c
+++ b/sound/pci/aw2/aw2-alsa.c
@@ -113,11 +113,11 @@ struct aw2 {
113 * FUNCTION DECLARATIONS 113 * FUNCTION DECLARATIONS
114 ********************************/ 114 ********************************/
115static int snd_aw2_dev_free(struct snd_device *device); 115static int snd_aw2_dev_free(struct snd_device *device);
116static int __devinit snd_aw2_create(struct snd_card *card, 116static int snd_aw2_create(struct snd_card *card,
117 struct pci_dev *pci, struct aw2 **rchip); 117 struct pci_dev *pci, struct aw2 **rchip);
118static int __devinit snd_aw2_probe(struct pci_dev *pci, 118static int snd_aw2_probe(struct pci_dev *pci,
119 const struct pci_device_id *pci_id); 119 const struct pci_device_id *pci_id);
120static void __devexit snd_aw2_remove(struct pci_dev *pci); 120static void snd_aw2_remove(struct pci_dev *pci);
121static int snd_aw2_pcm_playback_open(struct snd_pcm_substream *substream); 121static int snd_aw2_pcm_playback_open(struct snd_pcm_substream *substream);
122static int snd_aw2_pcm_playback_close(struct snd_pcm_substream *substream); 122static int snd_aw2_pcm_playback_close(struct snd_pcm_substream *substream);
123static int snd_aw2_pcm_capture_open(struct snd_pcm_substream *substream); 123static int snd_aw2_pcm_capture_open(struct snd_pcm_substream *substream);
@@ -135,7 +135,7 @@ static snd_pcm_uframes_t snd_aw2_pcm_pointer_playback(struct snd_pcm_substream
135 *substream); 135 *substream);
136static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream 136static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream
137 *substream); 137 *substream);
138static int __devinit snd_aw2_new_pcm(struct aw2 *chip); 138static int snd_aw2_new_pcm(struct aw2 *chip);
139 139
140static int snd_aw2_control_switch_capture_info(struct snd_kcontrol *kcontrol, 140static int snd_aw2_control_switch_capture_info(struct snd_kcontrol *kcontrol,
141 struct snd_ctl_elem_info *uinfo); 141 struct snd_ctl_elem_info *uinfo);
@@ -173,7 +173,7 @@ static struct pci_driver aw2_driver = {
173 .name = KBUILD_MODNAME, 173 .name = KBUILD_MODNAME,
174 .id_table = snd_aw2_ids, 174 .id_table = snd_aw2_ids,
175 .probe = snd_aw2_probe, 175 .probe = snd_aw2_probe,
176 .remove = __devexit_p(snd_aw2_remove), 176 .remove = snd_aw2_remove,
177}; 177};
178 178
179module_pci_driver(aw2_driver); 179module_pci_driver(aw2_driver);
@@ -202,7 +202,7 @@ static struct snd_pcm_ops snd_aw2_capture_ops = {
202 .pointer = snd_aw2_pcm_pointer_capture, 202 .pointer = snd_aw2_pcm_pointer_capture,
203}; 203};
204 204
205static struct snd_kcontrol_new aw2_control __devinitdata = { 205static struct snd_kcontrol_new aw2_control = {
206 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 206 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
207 .name = "PCM Capture Route", 207 .name = "PCM Capture Route",
208 .index = 0, 208 .index = 0,
@@ -242,8 +242,8 @@ static int snd_aw2_dev_free(struct snd_device *device)
242} 242}
243 243
244/* chip-specific constructor */ 244/* chip-specific constructor */
245static int __devinit snd_aw2_create(struct snd_card *card, 245static int snd_aw2_create(struct snd_card *card,
246 struct pci_dev *pci, struct aw2 **rchip) 246 struct pci_dev *pci, struct aw2 **rchip)
247{ 247{
248 struct aw2 *chip; 248 struct aw2 *chip;
249 int err; 249 int err;
@@ -332,8 +332,8 @@ static int __devinit snd_aw2_create(struct snd_card *card,
332} 332}
333 333
334/* constructor */ 334/* constructor */
335static int __devinit snd_aw2_probe(struct pci_dev *pci, 335static int snd_aw2_probe(struct pci_dev *pci,
336 const struct pci_device_id *pci_id) 336 const struct pci_device_id *pci_id)
337{ 337{
338 static int dev; 338 static int dev;
339 struct snd_card *card; 339 struct snd_card *card;
@@ -389,7 +389,7 @@ static int __devinit snd_aw2_probe(struct pci_dev *pci,
389} 389}
390 390
391/* destructor */ 391/* destructor */
392static void __devexit snd_aw2_remove(struct pci_dev *pci) 392static void snd_aw2_remove(struct pci_dev *pci)
393{ 393{
394 snd_card_free(pci_get_drvdata(pci)); 394 snd_card_free(pci_get_drvdata(pci));
395 pci_set_drvdata(pci, NULL); 395 pci_set_drvdata(pci, NULL);
@@ -591,7 +591,7 @@ static snd_pcm_uframes_t snd_aw2_pcm_pointer_capture(struct snd_pcm_substream
591} 591}
592 592
593/* create a pcm device */ 593/* create a pcm device */
594static int __devinit snd_aw2_new_pcm(struct aw2 *chip) 594static int snd_aw2_new_pcm(struct aw2 *chip)
595{ 595{
596 struct snd_pcm *pcm_playback_ana; 596 struct snd_pcm *pcm_playback_ana;
597 struct snd_pcm *pcm_playback_num; 597 struct snd_pcm *pcm_playback_num;