diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-06 12:35:28 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-12-07 01:34:46 -0500 |
commit | 87f9796a0336efa46d0fbecfb2875afe07dd6972 (patch) | |
tree | 9d232dc63b56e4f2ba9819d40089f86586956403 /sound/usb | |
parent | fbbb01a12d5d553ea3851a020d98c0ac9b383673 (diff) |
ALSA: snd-usb-6fire: 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/usb')
-rw-r--r-- | sound/usb/6fire/chip.c | 4 | ||||
-rw-r--r-- | sound/usb/6fire/comm.c | 2 | ||||
-rw-r--r-- | sound/usb/6fire/comm.h | 2 | ||||
-rw-r--r-- | sound/usb/6fire/control.c | 8 | ||||
-rw-r--r-- | sound/usb/6fire/control.h | 2 | ||||
-rw-r--r-- | sound/usb/6fire/firmware.h | 2 | ||||
-rw-r--r-- | sound/usb/6fire/midi.c | 2 | ||||
-rw-r--r-- | sound/usb/6fire/midi.h | 2 | ||||
-rw-r--r-- | sound/usb/6fire/pcm.c | 8 | ||||
-rw-r--r-- | sound/usb/6fire/pcm.h | 2 |
10 files changed, 17 insertions, 17 deletions
diff --git a/sound/usb/6fire/chip.c b/sound/usb/6fire/chip.c index fc8cc823e43..4394ae79635 100644 --- a/sound/usb/6fire/chip.c +++ b/sound/usb/6fire/chip.c | |||
@@ -82,8 +82,8 @@ static void usb6fire_chip_destroy(struct sfire_chip *chip) | |||
82 | } | 82 | } |
83 | } | 83 | } |
84 | 84 | ||
85 | static int __devinit usb6fire_chip_probe(struct usb_interface *intf, | 85 | static int usb6fire_chip_probe(struct usb_interface *intf, |
86 | const struct usb_device_id *usb_id) | 86 | const struct usb_device_id *usb_id) |
87 | { | 87 | { |
88 | int ret; | 88 | int ret; |
89 | int i; | 89 | int i; |
diff --git a/sound/usb/6fire/comm.c b/sound/usb/6fire/comm.c index 1a75c36932d..9e6e3ffd86b 100644 --- a/sound/usb/6fire/comm.c +++ b/sound/usb/6fire/comm.c | |||
@@ -125,7 +125,7 @@ static int usb6fire_comm_write16(struct comm_runtime *rt, u8 request, | |||
125 | return usb6fire_comm_send_buffer(buffer, rt->chip->dev); | 125 | return usb6fire_comm_send_buffer(buffer, rt->chip->dev); |
126 | } | 126 | } |
127 | 127 | ||
128 | int __devinit usb6fire_comm_init(struct sfire_chip *chip) | 128 | int usb6fire_comm_init(struct sfire_chip *chip) |
129 | { | 129 | { |
130 | struct comm_runtime *rt = kzalloc(sizeof(struct comm_runtime), | 130 | struct comm_runtime *rt = kzalloc(sizeof(struct comm_runtime), |
131 | GFP_KERNEL); | 131 | GFP_KERNEL); |
diff --git a/sound/usb/6fire/comm.h b/sound/usb/6fire/comm.h index d2af0a5ddcf..6a0840b0dcf 100644 --- a/sound/usb/6fire/comm.h +++ b/sound/usb/6fire/comm.h | |||
@@ -36,7 +36,7 @@ struct comm_runtime { | |||
36 | u8 vh, u8 vl); | 36 | u8 vh, u8 vl); |
37 | }; | 37 | }; |
38 | 38 | ||
39 | int __devinit usb6fire_comm_init(struct sfire_chip *chip); | 39 | int usb6fire_comm_init(struct sfire_chip *chip); |
40 | void usb6fire_comm_abort(struct sfire_chip *chip); | 40 | void usb6fire_comm_abort(struct sfire_chip *chip); |
41 | void usb6fire_comm_destroy(struct sfire_chip *chip); | 41 | void usb6fire_comm_destroy(struct sfire_chip *chip); |
42 | #endif /* USB6FIRE_COMM_H */ | 42 | #endif /* USB6FIRE_COMM_H */ |
diff --git a/sound/usb/6fire/control.c b/sound/usb/6fire/control.c index 07ed914d5e7..f6434c24572 100644 --- a/sound/usb/6fire/control.c +++ b/sound/usb/6fire/control.c | |||
@@ -411,7 +411,7 @@ static int usb6fire_control_digital_thru_get(struct snd_kcontrol *kcontrol, | |||
411 | return 0; | 411 | return 0; |
412 | } | 412 | } |
413 | 413 | ||
414 | static struct __devinitdata snd_kcontrol_new vol_elements[] = { | 414 | static struct snd_kcontrol_new vol_elements[] = { |
415 | { | 415 | { |
416 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 416 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
417 | .name = "Analog Playback Volume", | 417 | .name = "Analog Playback Volume", |
@@ -451,7 +451,7 @@ static struct __devinitdata snd_kcontrol_new vol_elements[] = { | |||
451 | {} | 451 | {} |
452 | }; | 452 | }; |
453 | 453 | ||
454 | static struct __devinitdata snd_kcontrol_new mute_elements[] = { | 454 | static struct snd_kcontrol_new mute_elements[] = { |
455 | { | 455 | { |
456 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 456 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
457 | .name = "Analog Playback Switch", | 457 | .name = "Analog Playback Switch", |
@@ -485,7 +485,7 @@ static struct __devinitdata snd_kcontrol_new mute_elements[] = { | |||
485 | {} | 485 | {} |
486 | }; | 486 | }; |
487 | 487 | ||
488 | static struct __devinitdata snd_kcontrol_new elements[] = { | 488 | static struct snd_kcontrol_new elements[] = { |
489 | { | 489 | { |
490 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 490 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
491 | .name = "Line/Phono Capture Route", | 491 | .name = "Line/Phono Capture Route", |
@@ -561,7 +561,7 @@ static int usb6fire_control_add_virtual( | |||
561 | return 0; | 561 | return 0; |
562 | } | 562 | } |
563 | 563 | ||
564 | int __devinit usb6fire_control_init(struct sfire_chip *chip) | 564 | int usb6fire_control_init(struct sfire_chip *chip) |
565 | { | 565 | { |
566 | int i; | 566 | int i; |
567 | int ret; | 567 | int ret; |
diff --git a/sound/usb/6fire/control.h b/sound/usb/6fire/control.h index 9a596d95474..5a40ba14348 100644 --- a/sound/usb/6fire/control.h +++ b/sound/usb/6fire/control.h | |||
@@ -50,7 +50,7 @@ struct control_runtime { | |||
50 | u8 ivol_updated; | 50 | u8 ivol_updated; |
51 | }; | 51 | }; |
52 | 52 | ||
53 | int __devinit usb6fire_control_init(struct sfire_chip *chip); | 53 | int usb6fire_control_init(struct sfire_chip *chip); |
54 | void usb6fire_control_abort(struct sfire_chip *chip); | 54 | void usb6fire_control_abort(struct sfire_chip *chip); |
55 | void usb6fire_control_destroy(struct sfire_chip *chip); | 55 | void usb6fire_control_destroy(struct sfire_chip *chip); |
56 | #endif /* USB6FIRE_CONTROL_H */ | 56 | #endif /* USB6FIRE_CONTROL_H */ |
diff --git a/sound/usb/6fire/firmware.h b/sound/usb/6fire/firmware.h index 00856989538..c109c4f75ab 100644 --- a/sound/usb/6fire/firmware.h +++ b/sound/usb/6fire/firmware.h | |||
@@ -22,6 +22,6 @@ enum /* firmware state of device */ | |||
22 | FW_NOT_READY = 1 | 22 | FW_NOT_READY = 1 |
23 | }; | 23 | }; |
24 | 24 | ||
25 | int __devinit usb6fire_fw_init(struct usb_interface *intf); | 25 | int usb6fire_fw_init(struct usb_interface *intf); |
26 | #endif /* USB6FIRE_FIRMWARE_H */ | 26 | #endif /* USB6FIRE_FIRMWARE_H */ |
27 | 27 | ||
diff --git a/sound/usb/6fire/midi.c b/sound/usb/6fire/midi.c index f0e5179b242..26722423330 100644 --- a/sound/usb/6fire/midi.c +++ b/sound/usb/6fire/midi.c | |||
@@ -146,7 +146,7 @@ static struct snd_rawmidi_ops in_ops = { | |||
146 | .trigger = usb6fire_midi_in_trigger | 146 | .trigger = usb6fire_midi_in_trigger |
147 | }; | 147 | }; |
148 | 148 | ||
149 | int __devinit usb6fire_midi_init(struct sfire_chip *chip) | 149 | int usb6fire_midi_init(struct sfire_chip *chip) |
150 | { | 150 | { |
151 | int ret; | 151 | int ret; |
152 | struct midi_runtime *rt = kzalloc(sizeof(struct midi_runtime), | 152 | struct midi_runtime *rt = kzalloc(sizeof(struct midi_runtime), |
diff --git a/sound/usb/6fire/midi.h b/sound/usb/6fire/midi.h index 5114eccc1d8..c321006e543 100644 --- a/sound/usb/6fire/midi.h +++ b/sound/usb/6fire/midi.h | |||
@@ -38,7 +38,7 @@ struct midi_runtime { | |||
38 | void (*in_received)(struct midi_runtime *rt, u8 *data, int length); | 38 | void (*in_received)(struct midi_runtime *rt, u8 *data, int length); |
39 | }; | 39 | }; |
40 | 40 | ||
41 | int __devinit usb6fire_midi_init(struct sfire_chip *chip); | 41 | int usb6fire_midi_init(struct sfire_chip *chip); |
42 | void usb6fire_midi_abort(struct sfire_chip *chip); | 42 | void usb6fire_midi_abort(struct sfire_chip *chip); |
43 | void usb6fire_midi_destroy(struct sfire_chip *chip); | 43 | void usb6fire_midi_destroy(struct sfire_chip *chip); |
44 | #endif /* USB6FIRE_MIDI_H */ | 44 | #endif /* USB6FIRE_MIDI_H */ |
diff --git a/sound/usb/6fire/pcm.c b/sound/usb/6fire/pcm.c index c97d05f0e96..cabedb416fc 100644 --- a/sound/usb/6fire/pcm.c +++ b/sound/usb/6fire/pcm.c | |||
@@ -559,9 +559,9 @@ static struct snd_pcm_ops pcm_ops = { | |||
559 | .pointer = usb6fire_pcm_pointer, | 559 | .pointer = usb6fire_pcm_pointer, |
560 | }; | 560 | }; |
561 | 561 | ||
562 | static void __devinit usb6fire_pcm_init_urb(struct pcm_urb *urb, | 562 | static void usb6fire_pcm_init_urb(struct pcm_urb *urb, |
563 | struct sfire_chip *chip, bool in, int ep, | 563 | struct sfire_chip *chip, bool in, int ep, |
564 | void (*handler)(struct urb *)) | 564 | void (*handler)(struct urb *)) |
565 | { | 565 | { |
566 | urb->chip = chip; | 566 | urb->chip = chip; |
567 | usb_init_urb(&urb->instance); | 567 | usb_init_urb(&urb->instance); |
@@ -578,7 +578,7 @@ static void __devinit usb6fire_pcm_init_urb(struct pcm_urb *urb, | |||
578 | urb->instance.number_of_packets = PCM_N_PACKETS_PER_URB; | 578 | urb->instance.number_of_packets = PCM_N_PACKETS_PER_URB; |
579 | } | 579 | } |
580 | 580 | ||
581 | int __devinit usb6fire_pcm_init(struct sfire_chip *chip) | 581 | int usb6fire_pcm_init(struct sfire_chip *chip) |
582 | { | 582 | { |
583 | int i; | 583 | int i; |
584 | int ret; | 584 | int ret; |
diff --git a/sound/usb/6fire/pcm.h b/sound/usb/6fire/pcm.h index 3104301b257..9b01133ee3f 100644 --- a/sound/usb/6fire/pcm.h +++ b/sound/usb/6fire/pcm.h | |||
@@ -69,7 +69,7 @@ struct pcm_runtime { | |||
69 | bool stream_wait_cond; | 69 | bool stream_wait_cond; |
70 | }; | 70 | }; |
71 | 71 | ||
72 | int __devinit usb6fire_pcm_init(struct sfire_chip *chip); | 72 | int usb6fire_pcm_init(struct sfire_chip *chip); |
73 | void usb6fire_pcm_abort(struct sfire_chip *chip); | 73 | void usb6fire_pcm_abort(struct sfire_chip *chip); |
74 | void usb6fire_pcm_destroy(struct sfire_chip *chip); | 74 | void usb6fire_pcm_destroy(struct sfire_chip *chip); |
75 | #endif /* USB6FIRE_PCM_H */ | 75 | #endif /* USB6FIRE_PCM_H */ |