diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-06 12:35:27 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-12-07 01:34:32 -0500 |
commit | fbbb01a12d5d553ea3851a020d98c0ac9b383673 (patch) | |
tree | c11ff5d8c1c4cac7bd350e2ae7d05bd98ddc82c9 /sound/drivers/virmidi.c | |
parent | 4423d247509fe65fb9e9efb35229fd1d3986d41d (diff) |
ALSA: drivers: 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/drivers/virmidi.c')
-rw-r--r-- | sound/drivers/virmidi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/drivers/virmidi.c b/sound/drivers/virmidi.c index d7d514df9058..cc4be88d7318 100644 --- a/sound/drivers/virmidi.c +++ b/sound/drivers/virmidi.c | |||
@@ -83,7 +83,7 @@ struct snd_card_virmidi { | |||
83 | static struct platform_device *devices[SNDRV_CARDS]; | 83 | static struct platform_device *devices[SNDRV_CARDS]; |
84 | 84 | ||
85 | 85 | ||
86 | static int __devinit snd_virmidi_probe(struct platform_device *devptr) | 86 | static int snd_virmidi_probe(struct platform_device *devptr) |
87 | { | 87 | { |
88 | struct snd_card *card; | 88 | struct snd_card *card; |
89 | struct snd_card_virmidi *vmidi; | 89 | struct snd_card_virmidi *vmidi; |
@@ -129,7 +129,7 @@ static int __devinit snd_virmidi_probe(struct platform_device *devptr) | |||
129 | return err; | 129 | return err; |
130 | } | 130 | } |
131 | 131 | ||
132 | static int __devexit snd_virmidi_remove(struct platform_device *devptr) | 132 | static int snd_virmidi_remove(struct platform_device *devptr) |
133 | { | 133 | { |
134 | snd_card_free(platform_get_drvdata(devptr)); | 134 | snd_card_free(platform_get_drvdata(devptr)); |
135 | platform_set_drvdata(devptr, NULL); | 135 | platform_set_drvdata(devptr, NULL); |
@@ -140,7 +140,7 @@ static int __devexit snd_virmidi_remove(struct platform_device *devptr) | |||
140 | 140 | ||
141 | static struct platform_driver snd_virmidi_driver = { | 141 | static struct platform_driver snd_virmidi_driver = { |
142 | .probe = snd_virmidi_probe, | 142 | .probe = snd_virmidi_probe, |
143 | .remove = __devexit_p(snd_virmidi_remove), | 143 | .remove = snd_virmidi_remove, |
144 | .driver = { | 144 | .driver = { |
145 | .name = SND_VIRMIDI_DRIVER, | 145 | .name = SND_VIRMIDI_DRIVER, |
146 | .owner = THIS_MODULE, | 146 | .owner = THIS_MODULE, |