aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/als300.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:10 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:20:55 -0500
commite23e7a1436207217000c2854214bc908936af3cb (patch)
treeaebb83a4e59dde76a79ac60b51b67849c75c545b /sound/pci/als300.c
parent445a51b353c35fe54840c10352ef51152fbb94df (diff)
ALSA: pci: 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/pci/als300.c')
-rw-r--r--sound/pci/als300.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/als300.c b/sound/pci/als300.c
index 5af3cb6b0c18..864c4310366b 100644
--- a/sound/pci/als300.c
+++ b/sound/pci/als300.c
@@ -278,7 +278,7 @@ static irqreturn_t snd_als300plus_interrupt(int irq, void *dev_id)
278 return IRQ_HANDLED; 278 return IRQ_HANDLED;
279} 279}
280 280
281static void __devexit snd_als300_remove(struct pci_dev *pci) 281static void snd_als300_remove(struct pci_dev *pci)
282{ 282{
283 snd_als300_dbgcallenter(); 283 snd_als300_dbgcallenter();
284 snd_card_free(pci_get_drvdata(pci)); 284 snd_card_free(pci_get_drvdata(pci));
@@ -622,7 +622,7 @@ static struct snd_pcm_ops snd_als300_capture_ops = {
622 .pointer = snd_als300_pointer, 622 .pointer = snd_als300_pointer,
623}; 623};
624 624
625static int __devinit snd_als300_new_pcm(struct snd_als300 *chip) 625static int snd_als300_new_pcm(struct snd_als300 *chip)
626{ 626{
627 struct snd_pcm *pcm; 627 struct snd_pcm *pcm;
628 int err; 628 int err;
@@ -683,9 +683,9 @@ static void snd_als300_init(struct snd_als300 *chip)
683 snd_als300_dbgcallleave(); 683 snd_als300_dbgcallleave();
684} 684}
685 685
686static int __devinit snd_als300_create(struct snd_card *card, 686static int snd_als300_create(struct snd_card *card,
687 struct pci_dev *pci, int chip_type, 687 struct pci_dev *pci, int chip_type,
688 struct snd_als300 **rchip) 688 struct snd_als300 **rchip)
689{ 689{
690 struct snd_als300 *chip; 690 struct snd_als300 *chip;
691 void *irq_handler; 691 void *irq_handler;
@@ -815,7 +815,7 @@ static SIMPLE_DEV_PM_OPS(snd_als300_pm, snd_als300_suspend, snd_als300_resume);
815#define SND_ALS300_PM_OPS NULL 815#define SND_ALS300_PM_OPS NULL
816#endif 816#endif
817 817
818static int __devinit snd_als300_probe(struct pci_dev *pci, 818static int snd_als300_probe(struct pci_dev *pci,
819 const struct pci_device_id *pci_id) 819 const struct pci_device_id *pci_id)
820{ 820{
821 static int dev; 821 static int dev;
@@ -867,7 +867,7 @@ static struct pci_driver als300_driver = {
867 .name = KBUILD_MODNAME, 867 .name = KBUILD_MODNAME,
868 .id_table = snd_als300_ids, 868 .id_table = snd_als300_ids,
869 .probe = snd_als300_probe, 869 .probe = snd_als300_probe,
870 .remove = __devexit_p(snd_als300_remove), 870 .remove = snd_als300_remove,
871 .driver = { 871 .driver = {
872 .pm = SND_ALS300_PM_OPS, 872 .pm = SND_ALS300_PM_OPS,
873 }, 873 },