]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
block: remove new __devinit/exit annotations on ramsam driver
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 6 Feb 2013 03:03:13 +0000 (14:03 +1100)
committerJens Axboe <axboe@kernel.dk>
Wed, 6 Feb 2013 08:34:20 +0000 (09:34 +0100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rsxx/core.c

index f75219140e70b86beeb94c8cb3ea46c5685b85dc..83dadbee0375d9899228eeecfaf6acffc17059e2 100644 (file)
@@ -319,7 +319,7 @@ static int rsxx_compatibility_check(struct rsxx_cardinfo *card)
        return 0;
 }
 
        return 0;
 }
 
-static int __devinit rsxx_pci_probe(struct pci_dev *dev,
+static int rsxx_pci_probe(struct pci_dev *dev,
                                        const struct pci_device_id *id)
 {
        struct rsxx_cardinfo *card;
                                        const struct pci_device_id *id)
 {
        struct rsxx_cardinfo *card;
@@ -510,7 +510,7 @@ failed_ida_get:
        return st;
 }
 
        return st;
 }
 
-static void __devexit rsxx_pci_remove(struct pci_dev *dev)
+static void rsxx_pci_remove(struct pci_dev *dev)
 {
        struct rsxx_cardinfo *card = pci_get_drvdata(dev);
        unsigned long flags;
 {
        struct rsxx_cardinfo *card = pci_get_drvdata(dev);
        unsigned long flags;
@@ -608,7 +608,7 @@ static struct pci_driver rsxx_pci_driver = {
        .name           = DRIVER_NAME,
        .id_table       = rsxx_pci_ids,
        .probe          = rsxx_pci_probe,
        .name           = DRIVER_NAME,
        .id_table       = rsxx_pci_ids,
        .probe          = rsxx_pci_probe,
-       .remove         = __devexit_p(rsxx_pci_remove),
+       .remove         = rsxx_pci_remove,
        .suspend        = rsxx_pci_suspend,
        .shutdown       = rsxx_pci_shutdown,
 };
        .suspend        = rsxx_pci_suspend,
        .shutdown       = rsxx_pci_shutdown,
 };