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>
This commit is contained in:

committed by
Takashi Iwai

parent
445a51b353
commit
e23e7a1436
@@ -278,7 +278,7 @@ static irqreturn_t snd_als300plus_interrupt(int irq, void *dev_id)
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
static void __devexit snd_als300_remove(struct pci_dev *pci)
|
||||
static void snd_als300_remove(struct pci_dev *pci)
|
||||
{
|
||||
snd_als300_dbgcallenter();
|
||||
snd_card_free(pci_get_drvdata(pci));
|
||||
@@ -622,7 +622,7 @@ static struct snd_pcm_ops snd_als300_capture_ops = {
|
||||
.pointer = snd_als300_pointer,
|
||||
};
|
||||
|
||||
static int __devinit snd_als300_new_pcm(struct snd_als300 *chip)
|
||||
static int snd_als300_new_pcm(struct snd_als300 *chip)
|
||||
{
|
||||
struct snd_pcm *pcm;
|
||||
int err;
|
||||
@@ -683,9 +683,9 @@ static void snd_als300_init(struct snd_als300 *chip)
|
||||
snd_als300_dbgcallleave();
|
||||
}
|
||||
|
||||
static int __devinit snd_als300_create(struct snd_card *card,
|
||||
struct pci_dev *pci, int chip_type,
|
||||
struct snd_als300 **rchip)
|
||||
static int snd_als300_create(struct snd_card *card,
|
||||
struct pci_dev *pci, int chip_type,
|
||||
struct snd_als300 **rchip)
|
||||
{
|
||||
struct snd_als300 *chip;
|
||||
void *irq_handler;
|
||||
@@ -815,7 +815,7 @@ static SIMPLE_DEV_PM_OPS(snd_als300_pm, snd_als300_suspend, snd_als300_resume);
|
||||
#define SND_ALS300_PM_OPS NULL
|
||||
#endif
|
||||
|
||||
static int __devinit snd_als300_probe(struct pci_dev *pci,
|
||||
static int snd_als300_probe(struct pci_dev *pci,
|
||||
const struct pci_device_id *pci_id)
|
||||
{
|
||||
static int dev;
|
||||
@@ -867,7 +867,7 @@ static struct pci_driver als300_driver = {
|
||||
.name = KBUILD_MODNAME,
|
||||
.id_table = snd_als300_ids,
|
||||
.probe = snd_als300_probe,
|
||||
.remove = __devexit_p(snd_als300_remove),
|
||||
.remove = snd_als300_remove,
|
||||
.driver = {
|
||||
.pm = SND_ALS300_PM_OPS,
|
||||
},
|
||||
|
Reference in New Issue
Block a user