ALSA: isa: remove __dev* attributes
[sfrench/cifs-2.6.git] / sound / isa / adlib.c
index 4d50c69f3290969f416333754a7798a91d9df1aa..d26545543732dab8b0805a97dbbcb9f40ba22b28 100644 (file)
@@ -30,7 +30,7 @@ MODULE_PARM_DESC(enable, "Enable " CRD_NAME " soundcard.");
 module_param_array(port, long, NULL, 0444);
 MODULE_PARM_DESC(port, "Port # for " CRD_NAME " driver.");
 
-static int __devinit snd_adlib_match(struct device *dev, unsigned int n)
+static int snd_adlib_match(struct device *dev, unsigned int n)
 {
        if (!enable[n])
                return 0;
@@ -47,7 +47,7 @@ static void snd_adlib_free(struct snd_card *card)
        release_and_free_resource(card->private_data);
 }
 
-static int __devinit snd_adlib_probe(struct device *dev, unsigned int n)
+static int snd_adlib_probe(struct device *dev, unsigned int n)
 {
        struct snd_card *card;
        struct snd_opl3 *opl3;
@@ -98,7 +98,7 @@ out:  snd_card_free(card);
        return error;
 }
 
-static int __devexit snd_adlib_remove(struct device *dev, unsigned int n)
+static int snd_adlib_remove(struct device *dev, unsigned int n)
 {
        snd_card_free(dev_get_drvdata(dev));
        dev_set_drvdata(dev, NULL);
@@ -108,7 +108,7 @@ static int __devexit snd_adlib_remove(struct device *dev, unsigned int n)
 static struct isa_driver snd_adlib_driver = {
        .match          = snd_adlib_match,
        .probe          = snd_adlib_probe,
-       .remove         = __devexit_p(snd_adlib_remove),
+       .remove         = snd_adlib_remove,
 
        .driver         = {
                .name   = DEV_NAME