]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/sm7xxfb/sm7xxfb.c
staging: sm7xxfb: remove use of __devexit
[~andy/linux] / drivers / staging / sm7xxfb / sm7xxfb.c
index f27182d4dea62c1e82c4f1325ea064a5e834f8c6..0764bbbfd497d78696f139e10d99e588cb2da431 100644 (file)
@@ -768,7 +768,7 @@ static inline void sm7xx_init_hw(void)
        outb_p(0x11, 0x3c5);
 }
 
-static int __devinit smtcfb_pci_probe(struct pci_dev *pdev,
+static int smtcfb_pci_probe(struct pci_dev *pdev,
                                   const struct pci_device_id *ent)
 {
        struct smtcfb_info *sfb;
@@ -928,7 +928,7 @@ static DEFINE_PCI_DEVICE_TABLE(smtcfb_pci_table) = {
        {0,}
 };
 
-static void __devexit smtcfb_pci_remove(struct pci_dev *pdev)
+static void smtcfb_pci_remove(struct pci_dev *pdev)
 {
        struct smtcfb_info *sfb;
 
@@ -1027,7 +1027,7 @@ static struct pci_driver smtcfb_driver = {
        .name = "smtcfb",
        .id_table = smtcfb_pci_table,
        .probe = smtcfb_pci_probe,
-       .remove = __devexit_p(smtcfb_pci_remove),
+       .remove = smtcfb_pci_remove,
        .driver.pm  = SM7XX_PM_OPS,
 };