aboutsummaryrefslogtreecommitdiffstats
path: root/sound/mips
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:15 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:29:45 -0500
commite0f8cb5fac7f6ab0353caccab54e960bbe517123 (patch)
treea78110396bdc025e9afb341b62c8cdb3c09565e0 /sound/mips
parent325fbfe0904eb78007b3c319a73f277b7222116f (diff)
ALSA: mips: 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/mips')
-rw-r--r--sound/mips/au1x00.c4
-rw-r--r--sound/mips/hal2.c14
-rw-r--r--sound/mips/sgio2audio.c28
3 files changed, 23 insertions, 23 deletions
diff --git a/sound/mips/au1x00.c b/sound/mips/au1x00.c
index 3f3ec0bec067..224f54be15a6 100644
--- a/sound/mips/au1x00.c
+++ b/sound/mips/au1x00.c
@@ -439,7 +439,7 @@ static struct snd_pcm_ops snd_card_au1000_capture_ops = {
439 .pointer = snd_au1000_pointer, 439 .pointer = snd_au1000_pointer,
440}; 440};
441 441
442static int __devinit 442static int
443snd_au1000_pcm_new(struct snd_au1000 *au1000) 443snd_au1000_pcm_new(struct snd_au1000 *au1000)
444{ 444{
445 struct snd_pcm *pcm; 445 struct snd_pcm *pcm;
@@ -552,7 +552,7 @@ get the interrupt driven case to work efficiently */
552 spin_unlock(&au1000->ac97_lock); 552 spin_unlock(&au1000->ac97_lock);
553} 553}
554 554
555static int __devinit 555static int
556snd_au1000_ac97_new(struct snd_au1000 *au1000) 556snd_au1000_ac97_new(struct snd_au1000 *au1000)
557{ 557{
558 int err; 558 int err;
diff --git a/sound/mips/hal2.c b/sound/mips/hal2.c
index 5f88d1f09ffe..7420c59444ab 100644
--- a/sound/mips/hal2.c
+++ b/sound/mips/hal2.c
@@ -260,7 +260,7 @@ static int hal2_gain_put(struct snd_kcontrol *kcontrol,
260 return old != new; 260 return old != new;
261} 261}
262 262
263static struct snd_kcontrol_new hal2_ctrl_headphone __devinitdata = { 263static struct snd_kcontrol_new hal2_ctrl_headphone = {
264 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 264 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
265 .name = "Headphone Playback Volume", 265 .name = "Headphone Playback Volume",
266 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, 266 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
@@ -270,7 +270,7 @@ static struct snd_kcontrol_new hal2_ctrl_headphone __devinitdata = {
270 .put = hal2_gain_put, 270 .put = hal2_gain_put,
271}; 271};
272 272
273static struct snd_kcontrol_new hal2_ctrl_mic __devinitdata = { 273static struct snd_kcontrol_new hal2_ctrl_mic = {
274 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 274 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
275 .name = "Mic Capture Volume", 275 .name = "Mic Capture Volume",
276 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, 276 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
@@ -280,7 +280,7 @@ static struct snd_kcontrol_new hal2_ctrl_mic __devinitdata = {
280 .put = hal2_gain_put, 280 .put = hal2_gain_put,
281}; 281};
282 282
283static int __devinit hal2_mixer_create(struct snd_hal2 *hal2) 283static int hal2_mixer_create(struct snd_hal2 *hal2)
284{ 284{
285 int err; 285 int err;
286 286
@@ -733,7 +733,7 @@ static struct snd_pcm_ops hal2_capture_ops = {
733 .ack = hal2_capture_ack, 733 .ack = hal2_capture_ack,
734}; 734};
735 735
736static int __devinit hal2_pcm_create(struct snd_hal2 *hal2) 736static int hal2_pcm_create(struct snd_hal2 *hal2)
737{ 737{
738 struct snd_pcm *pcm; 738 struct snd_pcm *pcm;
739 int err; 739 int err;
@@ -874,7 +874,7 @@ static int hal2_create(struct snd_card *card, struct snd_hal2 **rchip)
874 return 0; 874 return 0;
875} 875}
876 876
877static int __devinit hal2_probe(struct platform_device *pdev) 877static int hal2_probe(struct platform_device *pdev)
878{ 878{
879 struct snd_card *card; 879 struct snd_card *card;
880 struct snd_hal2 *chip; 880 struct snd_hal2 *chip;
@@ -917,7 +917,7 @@ static int __devinit hal2_probe(struct platform_device *pdev)
917 return 0; 917 return 0;
918} 918}
919 919
920static int __devexit hal2_remove(struct platform_device *pdev) 920static int hal2_remove(struct platform_device *pdev)
921{ 921{
922 struct snd_card *card = platform_get_drvdata(pdev); 922 struct snd_card *card = platform_get_drvdata(pdev);
923 923
@@ -928,7 +928,7 @@ static int __devexit hal2_remove(struct platform_device *pdev)
928 928
929static struct platform_driver hal2_driver = { 929static struct platform_driver hal2_driver = {
930 .probe = hal2_probe, 930 .probe = hal2_probe,
931 .remove = __devexit_p(hal2_remove), 931 .remove = hal2_remove,
932 .driver = { 932 .driver = {
933 .name = "sgihal2", 933 .name = "sgihal2",
934 .owner = THIS_MODULE, 934 .owner = THIS_MODULE,
diff --git a/sound/mips/sgio2audio.c b/sound/mips/sgio2audio.c
index ceaa593ea4ef..01a03efdc8b0 100644
--- a/sound/mips/sgio2audio.c
+++ b/sound/mips/sgio2audio.c
@@ -237,7 +237,7 @@ static int sgio2audio_source_put(struct snd_kcontrol *kcontrol,
237} 237}
238 238
239/* dac1/pcm0 mixer control */ 239/* dac1/pcm0 mixer control */
240static struct snd_kcontrol_new sgio2audio_ctrl_pcm0 __devinitdata = { 240static struct snd_kcontrol_new sgio2audio_ctrl_pcm0 = {
241 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 241 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
242 .name = "PCM Playback Volume", 242 .name = "PCM Playback Volume",
243 .index = 0, 243 .index = 0,
@@ -249,7 +249,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_pcm0 __devinitdata = {
249}; 249};
250 250
251/* dac2/pcm1 mixer control */ 251/* dac2/pcm1 mixer control */
252static struct snd_kcontrol_new sgio2audio_ctrl_pcm1 __devinitdata = { 252static struct snd_kcontrol_new sgio2audio_ctrl_pcm1 = {
253 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 253 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
254 .name = "PCM Playback Volume", 254 .name = "PCM Playback Volume",
255 .index = 1, 255 .index = 1,
@@ -261,7 +261,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_pcm1 __devinitdata = {
261}; 261};
262 262
263/* record level mixer control */ 263/* record level mixer control */
264static struct snd_kcontrol_new sgio2audio_ctrl_reclevel __devinitdata = { 264static struct snd_kcontrol_new sgio2audio_ctrl_reclevel = {
265 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 265 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
266 .name = "Capture Volume", 266 .name = "Capture Volume",
267 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, 267 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
@@ -272,7 +272,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_reclevel __devinitdata = {
272}; 272};
273 273
274/* record level source control */ 274/* record level source control */
275static struct snd_kcontrol_new sgio2audio_ctrl_recsource __devinitdata = { 275static struct snd_kcontrol_new sgio2audio_ctrl_recsource = {
276 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 276 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
277 .name = "Capture Source", 277 .name = "Capture Source",
278 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, 278 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
@@ -282,7 +282,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_recsource __devinitdata = {
282}; 282};
283 283
284/* line mixer control */ 284/* line mixer control */
285static struct snd_kcontrol_new sgio2audio_ctrl_line __devinitdata = { 285static struct snd_kcontrol_new sgio2audio_ctrl_line = {
286 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 286 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
287 .name = "Line Playback Volume", 287 .name = "Line Playback Volume",
288 .index = 0, 288 .index = 0,
@@ -294,7 +294,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_line __devinitdata = {
294}; 294};
295 295
296/* cd mixer control */ 296/* cd mixer control */
297static struct snd_kcontrol_new sgio2audio_ctrl_cd __devinitdata = { 297static struct snd_kcontrol_new sgio2audio_ctrl_cd = {
298 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 298 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
299 .name = "Line Playback Volume", 299 .name = "Line Playback Volume",
300 .index = 1, 300 .index = 1,
@@ -306,7 +306,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_cd __devinitdata = {
306}; 306};
307 307
308/* mic mixer control */ 308/* mic mixer control */
309static struct snd_kcontrol_new sgio2audio_ctrl_mic __devinitdata = { 309static struct snd_kcontrol_new sgio2audio_ctrl_mic = {
310 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 310 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
311 .name = "Mic Playback Volume", 311 .name = "Mic Playback Volume",
312 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, 312 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
@@ -317,7 +317,7 @@ static struct snd_kcontrol_new sgio2audio_ctrl_mic __devinitdata = {
317}; 317};
318 318
319 319
320static int __devinit snd_sgio2audio_new_mixer(struct snd_sgio2audio *chip) 320static int snd_sgio2audio_new_mixer(struct snd_sgio2audio *chip)
321{ 321{
322 int err; 322 int err;
323 323
@@ -726,7 +726,7 @@ static struct snd_pcm_ops snd_sgio2audio_capture_ops = {
726 */ 726 */
727 727
728/* create a pcm device */ 728/* create a pcm device */
729static int __devinit snd_sgio2audio_new_pcm(struct snd_sgio2audio *chip) 729static int snd_sgio2audio_new_pcm(struct snd_sgio2audio *chip)
730{ 730{
731 struct snd_pcm *pcm; 731 struct snd_pcm *pcm;
732 int err; 732 int err;
@@ -834,8 +834,8 @@ static struct snd_device_ops ops = {
834 .dev_free = snd_sgio2audio_dev_free, 834 .dev_free = snd_sgio2audio_dev_free,
835}; 835};
836 836
837static int __devinit snd_sgio2audio_create(struct snd_card *card, 837static int snd_sgio2audio_create(struct snd_card *card,
838 struct snd_sgio2audio **rchip) 838 struct snd_sgio2audio **rchip)
839{ 839{
840 struct snd_sgio2audio *chip; 840 struct snd_sgio2audio *chip;
841 int i, err; 841 int i, err;
@@ -914,7 +914,7 @@ static int __devinit snd_sgio2audio_create(struct snd_card *card,
914 return 0; 914 return 0;
915} 915}
916 916
917static int __devinit snd_sgio2audio_probe(struct platform_device *pdev) 917static int snd_sgio2audio_probe(struct platform_device *pdev)
918{ 918{
919 struct snd_card *card; 919 struct snd_card *card;
920 struct snd_sgio2audio *chip; 920 struct snd_sgio2audio *chip;
@@ -958,7 +958,7 @@ static int __devinit snd_sgio2audio_probe(struct platform_device *pdev)
958 return 0; 958 return 0;
959} 959}
960 960
961static int __devexit snd_sgio2audio_remove(struct platform_device *pdev) 961static int snd_sgio2audio_remove(struct platform_device *pdev)
962{ 962{
963 struct snd_card *card = platform_get_drvdata(pdev); 963 struct snd_card *card = platform_get_drvdata(pdev);
964 964
@@ -969,7 +969,7 @@ static int __devexit snd_sgio2audio_remove(struct platform_device *pdev)
969 969
970static struct platform_driver sgio2audio_driver = { 970static struct platform_driver sgio2audio_driver = {
971 .probe = snd_sgio2audio_probe, 971 .probe = snd_sgio2audio_probe,
972 .remove = __devexit_p(snd_sgio2audio_remove), 972 .remove = snd_sgio2audio_remove,
973 .driver = { 973 .driver = {
974 .name = "sgio2audio", 974 .name = "sgio2audio",
975 .owner = THIS_MODULE, 975 .owner = THIS_MODULE,