mtd: remove use of __devexit
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:26:04 +0000 (13:26 -0500)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 22 Nov 2012 10:07:03 +0000 (12:07 +0200)
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
46 files changed:
drivers/mtd/devices/bcm47xxsflash.c
drivers/mtd/devices/block2mtd.c
drivers/mtd/devices/m25p80.c
drivers/mtd/devices/mtd_dataflash.c
drivers/mtd/devices/spear_smi.c
drivers/mtd/devices/sst25l.c
drivers/mtd/maps/amd76xrom.c
drivers/mtd/maps/autcpu12-nvram.c
drivers/mtd/maps/bfin-async-flash.c
drivers/mtd/maps/ck804xrom.c
drivers/mtd/maps/esb2rom.c
drivers/mtd/maps/gpio-addr-flash.c
drivers/mtd/maps/ichxrom.c
drivers/mtd/maps/intel_vr_nor.c
drivers/mtd/maps/lantiq-flash.c
drivers/mtd/maps/pci.c
drivers/mtd/maps/pismo.c
drivers/mtd/maps/pxa2xx-flash.c
drivers/mtd/maps/scb2_flash.c
drivers/mtd/maps/sun_uflash.c
drivers/mtd/maps/vmu-flash.c
drivers/mtd/nand/ams-delta.c
drivers/mtd/nand/au1550nd.c
drivers/mtd/nand/bf5xx_nand.c
drivers/mtd/nand/cafe_nand.c
drivers/mtd/nand/denali_dt.c
drivers/mtd/nand/denali_pci.c
drivers/mtd/nand/fsl_upm.c
drivers/mtd/nand/gpio.c
drivers/mtd/nand/gpmi-nand/gpmi-nand.c
drivers/mtd/nand/jz4740_nand.c
drivers/mtd/nand/lpc32xx_mlc.c
drivers/mtd/nand/lpc32xx_slc.c
drivers/mtd/nand/mpc5121_nfc.c
drivers/mtd/nand/mxc_nand.c
drivers/mtd/nand/ndfc.c
drivers/mtd/nand/nuc900_nand.c
drivers/mtd/nand/orion_nand.c
drivers/mtd/nand/pasemi_nand.c
drivers/mtd/nand/plat_nand.c
drivers/mtd/nand/sh_flctl.c
drivers/mtd/nand/sharpsl.c
drivers/mtd/nand/socrates_nand.c
drivers/mtd/onenand/generic.c
drivers/mtd/onenand/omap2.c
drivers/mtd/onenand/samsung.c

index 113aced64990858ffec5fdaef260305e97d50106..4714584aa993a11772aaea7989c605d489b4084f 100644 (file)
@@ -66,7 +66,7 @@ out:
        return err;
 }
 
-static int __devexit bcm47xxsflash_remove(struct platform_device *pdev)
+static int bcm47xxsflash_remove(struct platform_device *pdev)
 {
        struct bcma_sflash *sflash = dev_get_platdata(&pdev->dev);
 
index 681e2ee0f2d6287a1c0e2170358a5e4cc9b11276..8debac9efde986b16b37a5586feb75fff5bf9f26 100644 (file)
@@ -433,7 +433,7 @@ static int __init block2mtd_init(void)
 }
 
 
-static void __devexit block2mtd_exit(void)
+static void block2mtd_exit(void)
 {
        struct list_head *pos, *next;
 
index ae43b01540032fd38ef1e84e0f48956c6d4f56dc..f402b67a5314c8d311cd05cc6aea00f28ca6cdc7 100644 (file)
@@ -972,7 +972,7 @@ static int m25p_probe(struct spi_device *spi)
 }
 
 
-static int __devexit m25p_remove(struct spi_device *spi)
+static int m25p_remove(struct spi_device *spi)
 {
        struct m25p     *flash = dev_get_drvdata(&spi->dev);
        int             status;
index 0b3f17361acb39f0f80b02f3cc8da679023d7672..0caefb400f0c8b3f48ff47e42dc35f578712ff63 100644 (file)
@@ -897,7 +897,7 @@ static int dataflash_probe(struct spi_device *spi)
        return status;
 }
 
-static int __devexit dataflash_remove(struct spi_device *spi)
+static int dataflash_remove(struct spi_device *spi)
 {
        struct dataflash        *flash = dev_get_drvdata(&spi->dev);
        int                     status;
index a30cd27ab916c958a76554458079de85ba96cdba..2d2c2a5d4d2ac0e7df2698b7002f53608fbd9c79 100644 (file)
@@ -1016,7 +1016,7 @@ err:
  *
  * free all allocations and delete the partitions.
  */
-static int __devexit spear_smi_remove(struct platform_device *pdev)
+static int spear_smi_remove(struct platform_device *pdev)
 {
        struct spear_smi *dev;
        struct spear_snor_flash *flash;
index e4f233941bf60850ee87b8d764544d0559e3b3ea..8091b016369430c0975835be79d3a6c381363846 100644 (file)
@@ -411,7 +411,7 @@ static int sst25l_probe(struct spi_device *spi)
        return 0;
 }
 
-static int __devexit sst25l_remove(struct spi_device *spi)
+static int sst25l_remove(struct spi_device *spi)
 {
        struct sst25l_flash *flash = dev_get_drvdata(&spi->dev);
        int ret;
index 1a4f671181f42c085307365942e1ab4dfed07bf9..31ee5c8dd5f429052d7a3becd70c56d2d25d2245 100644 (file)
@@ -289,7 +289,7 @@ static int amd76xrom_init_one (struct pci_dev *pdev,
 }
 
 
-static void __devexit amd76xrom_remove_one (struct pci_dev *pdev)
+static void amd76xrom_remove_one (struct pci_dev *pdev)
 {
        struct amd76xrom_window *window = &amd76xrom_window;
 
index b8c858913bbede0097355388f91912766bbc5ff5..a2dc2ae4b24e69cc234a8946b9f1033a1e8fd7aa 100644 (file)
@@ -105,7 +105,7 @@ static int autcpu12_nvram_probe(struct platform_device *pdev)
        return -ENOMEM;
 }
 
-static int __devexit autcpu12_nvram_remove(struct platform_device *pdev)
+static int autcpu12_nvram_remove(struct platform_device *pdev)
 {
        struct autcpu12_nvram_priv *priv = platform_get_drvdata(pdev);
 
index 6057c6404289fb51bb3f21654410a53829c4e67e..7d484de4abea537a48fb4fd358ec2adb5ee4d07b 100644 (file)
@@ -172,7 +172,7 @@ static int bfin_flash_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit bfin_flash_remove(struct platform_device *pdev)
+static int bfin_flash_remove(struct platform_device *pdev)
 {
        struct async_state *state = platform_get_drvdata(pdev);
        gpio_free(state->enet_flash_pin);
index 65fedb9f296ae5b1d40d34285e8d03d082d32eb2..0ac41f2e3013e70cac049c0d3b2224ffe57a7cfa 100644 (file)
@@ -320,7 +320,7 @@ static int ck804xrom_init_one (struct pci_dev *pdev,
 }
 
 
-static void __devexit ck804xrom_remove_one (struct pci_dev *pdev)
+static void ck804xrom_remove_one (struct pci_dev *pdev)
 {
        struct ck804xrom_window *window = &ck804xrom_window;
 
index 664303f11f08099c7dbf6bf2cac4769020387213..6d6cb8857e401c327d0c0f97f93acf4277e1cd4c 100644 (file)
@@ -378,7 +378,7 @@ static int esb2rom_init_one(struct pci_dev *pdev,
        return 0;
 }
 
-static void __devexit esb2rom_remove_one (struct pci_dev *pdev)
+static void esb2rom_remove_one (struct pci_dev *pdev)
 {
        struct esb2rom_window *window = &esb2rom_window;
        esb2rom_cleanup(window);
index 4babe04dda50da2d9842daba417e3369f16d98b5..41aa8db360203e2f3d45ae0e323cba61ca550d68 100644 (file)
@@ -258,7 +258,7 @@ static int gpio_flash_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit gpio_flash_remove(struct platform_device *pdev)
+static int gpio_flash_remove(struct platform_device *pdev)
 {
        struct async_state *state = platform_get_drvdata(pdev);
        size_t i = 0;
index 9673601c3833948e64018b71fa141eaa55649a41..03d60efda2772728e72fa9418d3f827b9829a9bb 100644 (file)
@@ -315,7 +315,7 @@ static int ichxrom_init_one (struct pci_dev *pdev,
 }
 
 
-static void __devexit ichxrom_remove_one (struct pci_dev *pdev)
+static void ichxrom_remove_one (struct pci_dev *pdev)
 {
        struct ichxrom_window *window = &ichxrom_window;
        ichxrom_cleanup(window);
index 1694c03e4884a484b7018698dd95f42917009020..3ee2ad1dcbe76cb327b3e0c6b94e33e30db7d3c1 100644 (file)
@@ -63,7 +63,7 @@ struct vr_nor_mtd {
 #define TIMING_BYTE_EN         (1 <<  0)       /* 8-bit vs 16-bit bus */
 #define TIMING_MASK            0x3FFF0000
 
-static void __devexit vr_nor_destroy_partitions(struct vr_nor_mtd *p)
+static void vr_nor_destroy_partitions(struct vr_nor_mtd *p)
 {
        mtd_device_unregister(p->info);
 }
@@ -75,7 +75,7 @@ static int vr_nor_init_partitions(struct vr_nor_mtd *p)
        return mtd_device_parse_register(p->info, NULL, NULL, NULL, 0);
 }
 
-static void __devexit vr_nor_destroy_mtd_setup(struct vr_nor_mtd *p)
+static void vr_nor_destroy_mtd_setup(struct vr_nor_mtd *p)
 {
        map_destroy(p->info);
 }
@@ -96,7 +96,7 @@ static int vr_nor_mtd_setup(struct vr_nor_mtd *p)
        return 0;
 }
 
-static void __devexit vr_nor_destroy_maps(struct vr_nor_mtd *p)
+static void vr_nor_destroy_maps(struct vr_nor_mtd *p)
 {
        unsigned int exp_timing_cs0;
 
@@ -176,7 +176,7 @@ static struct pci_device_id vr_nor_pci_ids[] = {
        {0,}
 };
 
-static void __devexit vr_nor_pci_remove(struct pci_dev *dev)
+static void vr_nor_pci_remove(struct pci_dev *dev)
 {
        struct vr_nor_mtd *p = pci_get_drvdata(dev);
 
index 0cf6c73070fd187317631cd8ee4d33f648546323..3c3c791eb96a0e0c7876eb15524fbbe95c47fc07 100644 (file)
@@ -185,7 +185,7 @@ err_out:
        return err;
 }
 
-static int __devexit
+static int
 ltq_mtd_remove(struct platform_device *pdev)
 {
        struct ltq_mtd *ltq_mtd = platform_get_drvdata(pdev);
index 81a8caf3bd13a8639a3865fa180d87d21e5d8af9..ed82914966f52db7ebdd0d5524d5595ec0af9d72 100644 (file)
@@ -308,7 +308,7 @@ out:
        return err;
 }
 
-static void __devexit
+static void
 mtd_pci_remove(struct pci_dev *dev)
 {
        struct mtd_info *mtd = pci_get_drvdata(dev);
index 01db0d0b076ab0d2c8ecccadd08c26b8ebf184c5..afea93b515d5c70e93974b5f02b29ca8c6e6dd7b 100644 (file)
@@ -197,7 +197,7 @@ static void pismo_add_one(struct pismo_data *pismo, int i,
        }
 }
 
-static int __devexit pismo_remove(struct i2c_client *client)
+static int pismo_remove(struct i2c_client *client)
 {
        struct pismo_data *pismo = i2c_get_clientdata(client);
        int i;
index b5120f9e9845f43f4c3f327db79c0920d2135a38..43e3dbb976d9937e0abf11ad8bab3b08da7f2a26 100644 (file)
@@ -105,7 +105,7 @@ static int pxa2xx_flash_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int __devexit pxa2xx_flash_remove(struct platform_device *dev)
+static int pxa2xx_flash_remove(struct platform_device *dev)
 {
        struct pxa2xx_flash_info *info = platform_get_drvdata(dev);
 
index bb1857f70bb1a8aa71d7654dfd5de67e08053f3f..71796137e97b12c2061640e3e3a2a9aa0784800d 100644 (file)
@@ -197,7 +197,7 @@ scb2_flash_probe(struct pci_dev *dev, const struct pci_device_id *ent)
        return 0;
 }
 
-static void __devexit
+static void
 scb2_flash_remove(struct pci_dev *dev)
 {
        if (!scb2_mtd)
index 2618e4dd2718b204d7e99575cbc43b6979a35406..d467f3b11c96c72ded5f3019cc823eb50fc6bd0b 100644 (file)
@@ -121,7 +121,7 @@ static int uflash_probe(struct platform_device *op)
        return uflash_devinit(op, dp);
 }
 
-static int __devexit uflash_remove(struct platform_device *op)
+static int uflash_remove(struct platform_device *op)
 {
        struct uflash_dev *up = dev_get_drvdata(&op->dev);
 
index 84c3f5a99e12c7b85a372f8434e524bc5033d1c9..6b223cfe92b7ac0e789a03364648744dd4a136fd 100644 (file)
@@ -690,7 +690,7 @@ fail_nomem:
        return error;
 }
 
-static void __devexit vmu_disconnect(struct maple_device *mdev)
+static void vmu_disconnect(struct maple_device *mdev)
 {
        struct memcard *card;
        struct mdev_part *mpart;
@@ -789,7 +789,7 @@ static int probe_maple_vmu(struct device *dev)
        return 0;
 }
 
-static int __devexit remove_maple_vmu(struct device *dev)
+static int remove_maple_vmu(struct device *dev)
 {
        struct maple_device *mdev = to_maple_dev(dev);
 
index 703e37387135e4569d2efcd39dbcbe3bf11db68f..f1d71cdc8aac97f827f7fac7d9a136342f0a6a22 100644 (file)
@@ -270,7 +270,7 @@ out_free:
 /*
  * Clean up routine
  */
-static int __devexit ams_delta_cleanup(struct platform_device *pdev)
+static int ams_delta_cleanup(struct platform_device *pdev)
 {
        void __iomem *io_base = platform_get_drvdata(pdev);
 
index 73d6423680ca73d34b2eccd1ed0c0c1b9227ad45..217459d02b2f85b6d5730e1c0d77e4fac7a108eb 100644 (file)
@@ -491,7 +491,7 @@ out1:
        return ret;
 }
 
-static int __devexit au1550nd_remove(struct platform_device *pdev)
+static int au1550nd_remove(struct platform_device *pdev)
 {
        struct au1550nd_ctx *ctx = platform_get_drvdata(pdev);
        struct resource *r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
index 56de9b676385dac7b24cb1865df14995aa21d55c..4271e948d1e255b149ce6d5c8c64c38b752ef472 100644 (file)
@@ -667,7 +667,7 @@ static int bf5xx_nand_add_partition(struct bf5xx_nand_info *info)
        return mtd_device_register(mtd, parts, nr);
 }
 
-static int __devexit bf5xx_nand_remove(struct platform_device *pdev)
+static int bf5xx_nand_remove(struct platform_device *pdev)
 {
        struct bf5xx_nand_info *info = to_nand_info(pdev);
 
index 480834a98382e4ec4d0b13ed25d82e724444cf2b..010d612665363632d47f9d0bc75bafdb49c2c9dd 100644 (file)
@@ -821,7 +821,7 @@ static int cafe_nand_probe(struct pci_dev *pdev,
        return err;
 }
 
-static void __devexit cafe_nand_remove(struct pci_dev *pdev)
+static void cafe_nand_remove(struct pci_dev *pdev)
 {
        struct mtd_info *mtd = pci_get_drvdata(pdev);
        struct cafe_priv *cafe = mtd->priv;
index f9b593c81db684452583c5b21cf5d6e97f2c0c74..546f8cb5688d52ce80a10df1cd82810b256a9adb 100644 (file)
@@ -129,7 +129,7 @@ out_disable_clk:
        return ret;
 }
 
-static int __devexit denali_dt_remove(struct platform_device *ofdev)
+static int denali_dt_remove(struct platform_device *ofdev)
 {
        struct denali_dt *dt = platform_get_drvdata(ofdev);
 
index f1f8f896fcc8c865f48553694ad5eecb0b10aec9..e3e46623b2b450f8a1d6cdab3b2c39c6b167836e 100644 (file)
@@ -137,7 +137,7 @@ static int denali_init_pci(void)
 }
 module_init(denali_init_pci);
 
-static void __devexit denali_exit_pci(void)
+static void denali_exit_pci(void)
 {
        pci_unregister_driver(&denali_pci_driver);
 }
index a5643252584b188a0f7886f2503f7a90ee134e33..5a8f5c4ce512255ed38a30b245149d618d044c0e 100644 (file)
@@ -318,7 +318,7 @@ err1:
        return ret;
 }
 
-static int __devexit fun_remove(struct platform_device *ofdev)
+static int fun_remove(struct platform_device *ofdev)
 {
        struct fsl_upm_nand *fun = dev_get_drvdata(&ofdev->dev);
        int i;
index 45f1a240bcbd43de05a76a5e7815c9ab0b45c58e..7aec5690289ae53c96b2bdc485c9d6fa8f9537fe 100644 (file)
@@ -231,7 +231,7 @@ gpio_nand_get_io_sync(struct platform_device *pdev)
        return platform_get_resource(pdev, IORESOURCE_MEM, 1);
 }
 
-static int __devexit gpio_nand_remove(struct platform_device *dev)
+static int gpio_nand_remove(struct platform_device *dev)
 {
        struct gpiomtd *gpiomtd = platform_get_drvdata(dev);
        struct resource *res;
index 2a251c95a70389e1865010063d14c23d3cc3eaa8..5cd141f7bfc262bae10e7bfadc5b8a7e2b8dc848 100644 (file)
@@ -1675,7 +1675,7 @@ exit_acquire_resources:
        return ret;
 }
 
-static int __devexit gpmi_nand_remove(struct platform_device *pdev)
+static int gpmi_nand_remove(struct platform_device *pdev)
 {
        struct gpmi_nand_data *this = platform_get_drvdata(pdev);
 
index 5396b6ceb08820a804a106efd3560d0a4c35ba2f..72ac26e1ddf4aae3b252d0ab887e9c9a845f5e9b 100644 (file)
@@ -541,7 +541,7 @@ err_free:
        return ret;
 }
 
-static int __devexit jz_nand_remove(struct platform_device *pdev)
+static int jz_nand_remove(struct platform_device *pdev)
 {
        struct jz_nand *nand = platform_get_drvdata(pdev);
        struct jz_nand_platform_data *pdata = pdev->dev.platform_data;
index bb83daf9c7390c014665a719d0aee81e7075e06e..f182befa73607bfcf180c3063f2f486e602fd404 100644 (file)
@@ -845,7 +845,7 @@ err_exit1:
 /*
  * Remove NAND device
  */
-static int __devexit lpc32xx_nand_remove(struct platform_device *pdev)
+static int lpc32xx_nand_remove(struct platform_device *pdev)
 {
        struct lpc32xx_nand_host *host = platform_get_drvdata(pdev);
        struct mtd_info *mtd = &host->mtd;
index 17267f2819d2e8bcf65669dd3ae3a62c03eeedad..030b78c6289555ad28ff5adb89e09fd9f5df4490 100644 (file)
@@ -949,7 +949,7 @@ err_exit1:
 /*
  * Remove NAND device.
  */
-static int __devexit lpc32xx_nand_remove(struct platform_device *pdev)
+static int lpc32xx_nand_remove(struct platform_device *pdev)
 {
        uint32_t tmp;
        struct lpc32xx_nand_host *host = platform_get_drvdata(pdev);
index 09f75a57e832fe88b327e245c80f72d914f02002..3c9cdcbc4cba7200c99db3db8366e286daf1669a 100644 (file)
@@ -827,7 +827,7 @@ error:
        return retval;
 }
 
-static int __devexit mpc5121_nfc_remove(struct platform_device *op)
+static int mpc5121_nfc_remove(struct platform_device *op)
 {
        struct device *dev = &op->dev;
        struct mtd_info *mtd = dev_get_drvdata(dev);
index 77a03cf64dd3814d20bf1f7e4aa66737f896008e..4aef6a355d54088f10b67be200dcdfa696f5706a 100644 (file)
@@ -1538,7 +1538,7 @@ escan:
        return err;
 }
 
-static int __devexit mxcnd_remove(struct platform_device *pdev)
+static int mxcnd_remove(struct platform_device *pdev)
 {
        struct mxc_nand_host *host = platform_get_drvdata(pdev);
 
index 6fa4588d477171b5cdf1e8df47ebb5eeb482d750..8e148f1478fd2aa8d9c0d58655051c8fbfa528c2 100644 (file)
@@ -256,7 +256,7 @@ static int ndfc_probe(struct platform_device *ofdev)
        return 0;
 }
 
-static int __devexit ndfc_remove(struct platform_device *ofdev)
+static int ndfc_remove(struct platform_device *ofdev)
 {
        struct ndfc_controller *ndfc = dev_get_drvdata(&ofdev->dev);
 
index 00766dfe4d3f5e98cc381ebe0a324588a02ec9f5..a6191198d259f02b4f1b14e6437eec5d71ea9a30 100644 (file)
@@ -317,7 +317,7 @@ fail1:      kfree(nuc900_nand);
        return retval;
 }
 
-static int __devexit nuc900_nand_remove(struct platform_device *pdev)
+static int nuc900_nand_remove(struct platform_device *pdev)
 {
        struct nuc900_nand *nuc900_nand = platform_get_drvdata(pdev);
        struct resource *res;
index e6b296dcb122538b7a5ee09f2baf809e5e640c99..cd72b9299f6b1af0f3491281cbccf1595f0b2a2b 100644 (file)
@@ -194,7 +194,7 @@ no_res:
        return ret;
 }
 
-static int __devexit orion_nand_remove(struct platform_device *pdev)
+static int orion_nand_remove(struct platform_device *pdev)
 {
        struct mtd_info *mtd = platform_get_drvdata(pdev);
        struct nand_chip *nc = mtd->priv;
index 2e477cb20b732b4b599392c8d0a4e8fe4c4b10ab..5a67082c07ee302119edc7e5fdd1658dfb8abc81 100644 (file)
@@ -184,7 +184,7 @@ static int pasemi_nand_probe(struct platform_device *ofdev)
        return err;
 }
 
-static int __devexit pasemi_nand_remove(struct platform_device *ofdev)
+static int pasemi_nand_remove(struct platform_device *ofdev)
 {
        struct nand_chip *chip;
 
index 32e2996c9e7342017fbc43544dd3b797f7871ae9..c004566a9ad2ae383a311ea31587411e0a98aaa7 100644 (file)
@@ -134,7 +134,7 @@ out_free:
 /*
  * Remove a NAND device.
  */
-static int __devexit plat_nand_remove(struct platform_device *pdev)
+static int plat_nand_remove(struct platform_device *pdev)
 {
        struct plat_nand_data *data = platform_get_drvdata(pdev);
        struct platform_nand_data *pdata = pdev->dev.platform_data;
index e45d6bd2901ab37c73dff8a1b1b7941ae8f35031..2a215962071f2e9f954905aa0e33d539c351192f 100644 (file)
@@ -1198,7 +1198,7 @@ err_iomap:
        return ret;
 }
 
-static int __devexit flctl_remove(struct platform_device *pdev)
+static int flctl_remove(struct platform_device *pdev)
 {
        struct sh_flctl *flctl = platform_get_drvdata(pdev);
 
index 870f0ff76c5fa649b7b051b9ec41e4a9545cf8a2..127bc42718217a68c4c83fa89cf64b3cbed7d95c 100644 (file)
@@ -205,7 +205,7 @@ err_get_res:
 /*
  * Clean up routine
  */
-static int __devexit sharpsl_nand_remove(struct platform_device *pdev)
+static int sharpsl_nand_remove(struct platform_device *pdev)
 {
        struct sharpsl_nand *sharpsl = platform_get_drvdata(pdev);
 
index c9791fd1ee531ebc7aa9a7833f1ac7c4c6f7ff12..09dde7d27178c72b4f058da3ed9699c0b028c8e5 100644 (file)
@@ -220,7 +220,7 @@ out:
 /*
  * Remove a NAND device.
  */
-static int __devexit socrates_nand_remove(struct platform_device *ofdev)
+static int socrates_nand_remove(struct platform_device *ofdev)
 {
        struct socrates_nand_host *host = dev_get_drvdata(&ofdev->dev);
        struct mtd_info *mtd = &host->mtd;
index 03e6af342423eeeea83b78e3498ec9752660f7c8..9f11562f849dbb0f7f5a4836cc31ce9c9a7e3cb5 100644 (file)
@@ -88,7 +88,7 @@ out_free_info:
        return err;
 }
 
-static int __devexit generic_onenand_remove(struct platform_device *pdev)
+static int generic_onenand_remove(struct platform_device *pdev)
 {
        struct onenand_info *info = platform_get_drvdata(pdev);
        struct resource *res = pdev->resource;
index 8c10a2f541583b7dcf97ba13df9f42644a59f1ff..b364e6c57d26ec2489cd63c89f9001d660c5b06f 100644 (file)
@@ -787,7 +787,7 @@ err_kfree:
        return r;
 }
 
-static int __devexit omap2_onenand_remove(struct platform_device *pdev)
+static int omap2_onenand_remove(struct platform_device *pdev)
 {
        struct omap2_onenand *c = dev_get_drvdata(&pdev->dev);
 
index 3d462cbcdbe412752109a60e15e13a360ffc18e3..33f2a8fb8df9a86d524f600c9c0ea973344a02c9 100644 (file)
@@ -1053,7 +1053,7 @@ onenand_fail:
        return err;
 }
 
-static int __devexit s3c_onenand_remove(struct platform_device *pdev)
+static int s3c_onenand_remove(struct platform_device *pdev)
 {
        struct mtd_info *mtd = platform_get_drvdata(pdev);
 
This page took 0.04515 seconds and 5 git commands to generate.