usb: bc: fix compile error
[firefly-linux-kernel-4.4.55.git] / drivers / spi / spi-dw-pci.c
index ff81abbb3066e2fd09ce8c2c551037e737d00e70..6055c8d9fdd7a44622d9c5c1b27f68ffd4dec50c 100644 (file)
@@ -32,7 +32,7 @@ struct dw_spi_pci {
        struct dw_spi   dws;
 };
 
-static int __devinit spi_pci_probe(struct pci_dev *pdev,
+static int spi_pci_probe(struct pci_dev *pdev,
        const struct pci_device_id *ent)
 {
        struct dw_spi_pci *dwpci;
@@ -105,7 +105,7 @@ err_disable:
        return ret;
 }
 
-static void __devexit spi_pci_remove(struct pci_dev *pdev)
+static void spi_pci_remove(struct pci_dev *pdev)
 {
        struct dw_spi_pci *dwpci = pci_get_drvdata(pdev);
 
@@ -159,7 +159,7 @@ static struct pci_driver dw_spi_driver = {
        .name =         DRIVER_NAME,
        .id_table =     pci_ids,
        .probe =        spi_pci_probe,
-       .remove =       __devexit_p(spi_pci_remove),
+       .remove =       spi_pci_remove,
        .suspend =      spi_suspend,
        .resume =       spi_resume,
 };