spi: Remove HOTPLUG section attributes
[deliverable/linux.git] / drivers / spi / spi-bfin5xx.c
index 9bb4d4af85475f8cfed48dce4530598fd45cc73d..0429d833f75bf0125df06e5c51d44819769b405c 100644 (file)
@@ -1387,7 +1387,7 @@ out_error_get_res:
 }
 
 /* stop hardware and remove the driver */
-static int __devexit bfin_spi_remove(struct platform_device *pdev)
+static int bfin_spi_remove(struct platform_device *pdev)
 {
        struct bfin_spi_master_data *drv_data = platform_get_drvdata(pdev);
        int status = 0;
@@ -1477,7 +1477,7 @@ static struct platform_driver bfin_spi_driver = {
        },
        .suspend        = bfin_spi_suspend,
        .resume         = bfin_spi_resume,
-       .remove         = __devexit_p(bfin_spi_remove),
+       .remove         = bfin_spi_remove,
 };
 
 static int __init bfin_spi_init(void)
This page took 0.025549 seconds and 5 git commands to generate.