aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/xfi.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/ctxfi/xfi.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/ctxfi/xfi.c')
-rw-r--r--sound/pci/ctxfi/xfi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/ctxfi/xfi.c b/sound/pci/ctxfi/xfi.c
index 07c07d752fd8..d01ffcb2b2f5 100644
--- a/sound/pci/ctxfi/xfi.c
+++ b/sound/pci/ctxfi/xfi.c
@@ -56,7 +56,7 @@ static DEFINE_PCI_DEVICE_TABLE(ct_pci_dev_ids) = {
56}; 56};
57MODULE_DEVICE_TABLE(pci, ct_pci_dev_ids); 57MODULE_DEVICE_TABLE(pci, ct_pci_dev_ids);
58 58
59static int __devinit 59static int
60ct_card_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) 60ct_card_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
61{ 61{
62 static int dev; 62 static int dev;
@@ -119,7 +119,7 @@ error:
119 return err; 119 return err;
120} 120}
121 121
122static void __devexit ct_card_remove(struct pci_dev *pci) 122static void ct_card_remove(struct pci_dev *pci)
123{ 123{
124 snd_card_free(pci_get_drvdata(pci)); 124 snd_card_free(pci_get_drvdata(pci));
125 pci_set_drvdata(pci, NULL); 125 pci_set_drvdata(pci, NULL);
@@ -152,7 +152,7 @@ static struct pci_driver ct_driver = {
152 .name = KBUILD_MODNAME, 152 .name = KBUILD_MODNAME,
153 .id_table = ct_pci_dev_ids, 153 .id_table = ct_pci_dev_ids,
154 .probe = ct_card_probe, 154 .probe = ct_card_probe,
155 .remove = __devexit_p(ct_card_remove), 155 .remove = ct_card_remove,
156 .driver = { 156 .driver = {
157 .pm = CT_CARD_PM_OPS, 157 .pm = CT_CARD_PM_OPS,
158 }, 158 },