diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-06 12:35:21 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-12-07 01:32:17 -0500 |
commit | 1bff292e9abec7477d43abb2b93c7fd26c44859b (patch) | |
tree | 6c9a58a0f5aacf99a3ee4a964b1fefd4470b0893 /sound/isa/als100.c | |
parent | f120a6fb486c2500c9ae11fd2da11fbde29bc186 (diff) |
ALSA: isa: 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/isa/als100.c')
-rw-r--r-- | sound/isa/als100.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sound/isa/als100.c b/sound/isa/als100.c index f7cdaf51512d..10f08a18fe3b 100644 --- a/sound/isa/als100.c +++ b/sound/isa/als100.c | |||
@@ -117,9 +117,9 @@ static struct pnp_card_device_id snd_als100_pnpids[] = { | |||
117 | 117 | ||
118 | MODULE_DEVICE_TABLE(pnp_card, snd_als100_pnpids); | 118 | MODULE_DEVICE_TABLE(pnp_card, snd_als100_pnpids); |
119 | 119 | ||
120 | static int __devinit snd_card_als100_pnp(int dev, struct snd_card_als100 *acard, | 120 | static int snd_card_als100_pnp(int dev, struct snd_card_als100 *acard, |
121 | struct pnp_card_link *card, | 121 | struct pnp_card_link *card, |
122 | const struct pnp_card_device_id *id) | 122 | const struct pnp_card_device_id *id) |
123 | { | 123 | { |
124 | struct pnp_dev *pdev; | 124 | struct pnp_dev *pdev; |
125 | int err; | 125 | int err; |
@@ -183,9 +183,9 @@ static int __devinit snd_card_als100_pnp(int dev, struct snd_card_als100 *acard, | |||
183 | return 0; | 183 | return 0; |
184 | } | 184 | } |
185 | 185 | ||
186 | static int __devinit snd_card_als100_probe(int dev, | 186 | static int snd_card_als100_probe(int dev, |
187 | struct pnp_card_link *pcard, | 187 | struct pnp_card_link *pcard, |
188 | const struct pnp_card_device_id *pid) | 188 | const struct pnp_card_device_id *pid) |
189 | { | 189 | { |
190 | int error; | 190 | int error; |
191 | struct snd_sb *chip; | 191 | struct snd_sb *chip; |
@@ -286,10 +286,10 @@ static int __devinit snd_card_als100_probe(int dev, | |||
286 | return 0; | 286 | return 0; |
287 | } | 287 | } |
288 | 288 | ||
289 | static unsigned int __devinitdata als100_devices; | 289 | static unsigned int als100_devices; |
290 | 290 | ||
291 | static int __devinit snd_als100_pnp_detect(struct pnp_card_link *card, | 291 | static int snd_als100_pnp_detect(struct pnp_card_link *card, |
292 | const struct pnp_card_device_id *id) | 292 | const struct pnp_card_device_id *id) |
293 | { | 293 | { |
294 | static int dev; | 294 | static int dev; |
295 | int res; | 295 | int res; |
@@ -307,7 +307,7 @@ static int __devinit snd_als100_pnp_detect(struct pnp_card_link *card, | |||
307 | return -ENODEV; | 307 | return -ENODEV; |
308 | } | 308 | } |
309 | 309 | ||
310 | static void __devexit snd_als100_pnp_remove(struct pnp_card_link * pcard) | 310 | static void snd_als100_pnp_remove(struct pnp_card_link *pcard) |
311 | { | 311 | { |
312 | snd_card_free(pnp_get_card_drvdata(pcard)); | 312 | snd_card_free(pnp_get_card_drvdata(pcard)); |
313 | pnp_set_card_drvdata(pcard, NULL); | 313 | pnp_set_card_drvdata(pcard, NULL); |
@@ -344,7 +344,7 @@ static struct pnp_card_driver als100_pnpc_driver = { | |||
344 | .name = "als100", | 344 | .name = "als100", |
345 | .id_table = snd_als100_pnpids, | 345 | .id_table = snd_als100_pnpids, |
346 | .probe = snd_als100_pnp_detect, | 346 | .probe = snd_als100_pnp_detect, |
347 | .remove = __devexit_p(snd_als100_pnp_remove), | 347 | .remove = snd_als100_pnp_remove, |
348 | #ifdef CONFIG_PM | 348 | #ifdef CONFIG_PM |
349 | .suspend = snd_als100_pnp_suspend, | 349 | .suspend = snd_als100_pnp_suspend, |
350 | .resume = snd_als100_pnp_resume, | 350 | .resume = snd_als100_pnp_resume, |