aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/cmi8328.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:21 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:32:17 -0500
commit1bff292e9abec7477d43abb2b93c7fd26c44859b (patch)
tree6c9a58a0f5aacf99a3ee4a964b1fefd4470b0893 /sound/isa/cmi8328.c
parentf120a6fb486c2500c9ae11fd2da11fbde29bc186 (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/cmi8328.c')
-rw-r--r--sound/isa/cmi8328.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/isa/cmi8328.c b/sound/isa/cmi8328.c
index bde60139bb95..a7369fe19a6f 100644
--- a/sound/isa/cmi8328.c
+++ b/sound/isa/cmi8328.c
@@ -140,7 +140,7 @@ static void snd_cmi8328_cfg_restore(u16 port, u8 cfg[])
140 snd_cmi8328_cfg_write(port, CFG3, cfg[2]); 140 snd_cmi8328_cfg_write(port, CFG3, cfg[2]);
141} 141}
142 142
143static int __devinit snd_cmi8328_mixer(struct snd_wss *chip) 143static int snd_cmi8328_mixer(struct snd_wss *chip)
144{ 144{
145 struct snd_card *card; 145 struct snd_card *card;
146 struct snd_ctl_elem_id id1, id2; 146 struct snd_ctl_elem_id id1, id2;
@@ -212,7 +212,7 @@ int array_find_l(long array[], long item)
212 return -1; 212 return -1;
213} 213}
214 214
215static int __devinit snd_cmi8328_probe(struct device *pdev, unsigned int ndev) 215static int snd_cmi8328_probe(struct device *pdev, unsigned int ndev)
216{ 216{
217 struct snd_card *card; 217 struct snd_card *card;
218 struct snd_opl3 *opl3; 218 struct snd_opl3 *opl3;
@@ -401,7 +401,7 @@ error:
401 return err; 401 return err;
402} 402}
403 403
404static int __devexit snd_cmi8328_remove(struct device *pdev, unsigned int dev) 404static int snd_cmi8328_remove(struct device *pdev, unsigned int dev)
405{ 405{
406 struct snd_card *card = dev_get_drvdata(pdev); 406 struct snd_card *card = dev_get_drvdata(pdev);
407 struct snd_cmi8328 *cmi = card->private_data; 407 struct snd_cmi8328 *cmi = card->private_data;
@@ -459,7 +459,7 @@ static int snd_cmi8328_resume(struct device *pdev, unsigned int n)
459 459
460static struct isa_driver snd_cmi8328_driver = { 460static struct isa_driver snd_cmi8328_driver = {
461 .probe = snd_cmi8328_probe, 461 .probe = snd_cmi8328_probe,
462 .remove = __devexit_p(snd_cmi8328_remove), 462 .remove = snd_cmi8328_remove,
463#ifdef CONFIG_PM 463#ifdef CONFIG_PM
464 .suspend = snd_cmi8328_suspend, 464 .suspend = snd_cmi8328_suspend,
465 .resume = snd_cmi8328_resume, 465 .resume = snd_cmi8328_resume,