Skip to content

Commit 810b7e0

Browse files
wfp5pdedekind
authored andcommitted
mtd: remove use of __devexit
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>
1 parent 5e75e86 commit 810b7e0

46 files changed

Lines changed: 50 additions & 50 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

drivers/mtd/devices/bcm47xxsflash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static int bcm47xxsflash_probe(struct platform_device *pdev)
6666
return err;
6767
}
6868

69-
static int __devexit bcm47xxsflash_remove(struct platform_device *pdev)
69+
static int bcm47xxsflash_remove(struct platform_device *pdev)
7070
{
7171
struct bcma_sflash *sflash = dev_get_platdata(&pdev->dev);
7272

drivers/mtd/devices/block2mtd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ static int __init block2mtd_init(void)
433433
}
434434

435435

436-
static void __devexit block2mtd_exit(void)
436+
static void block2mtd_exit(void)
437437
{
438438
struct list_head *pos, *next;
439439

drivers/mtd/devices/m25p80.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ static int m25p_probe(struct spi_device *spi)
972972
}
973973

974974

975-
static int __devexit m25p_remove(struct spi_device *spi)
975+
static int m25p_remove(struct spi_device *spi)
976976
{
977977
struct m25p *flash = dev_get_drvdata(&spi->dev);
978978
int status;

drivers/mtd/devices/mtd_dataflash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ static int dataflash_probe(struct spi_device *spi)
897897
return status;
898898
}
899899

900-
static int __devexit dataflash_remove(struct spi_device *spi)
900+
static int dataflash_remove(struct spi_device *spi)
901901
{
902902
struct dataflash *flash = dev_get_drvdata(&spi->dev);
903903
int status;

drivers/mtd/devices/spear_smi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ static int spear_smi_probe(struct platform_device *pdev)
10161016
*
10171017
* free all allocations and delete the partitions.
10181018
*/
1019-
static int __devexit spear_smi_remove(struct platform_device *pdev)
1019+
static int spear_smi_remove(struct platform_device *pdev)
10201020
{
10211021
struct spear_smi *dev;
10221022
struct spear_snor_flash *flash;

drivers/mtd/devices/sst25l.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ static int sst25l_probe(struct spi_device *spi)
411411
return 0;
412412
}
413413

414-
static int __devexit sst25l_remove(struct spi_device *spi)
414+
static int sst25l_remove(struct spi_device *spi)
415415
{
416416
struct sst25l_flash *flash = dev_get_drvdata(&spi->dev);
417417
int ret;

drivers/mtd/maps/amd76xrom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ static int amd76xrom_init_one (struct pci_dev *pdev,
289289
}
290290

291291

292-
static void __devexit amd76xrom_remove_one (struct pci_dev *pdev)
292+
static void amd76xrom_remove_one (struct pci_dev *pdev)
293293
{
294294
struct amd76xrom_window *window = &amd76xrom_window;
295295

drivers/mtd/maps/autcpu12-nvram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static int autcpu12_nvram_probe(struct platform_device *pdev)
105105
return -ENOMEM;
106106
}
107107

108-
static int __devexit autcpu12_nvram_remove(struct platform_device *pdev)
108+
static int autcpu12_nvram_remove(struct platform_device *pdev)
109109
{
110110
struct autcpu12_nvram_priv *priv = platform_get_drvdata(pdev);
111111

drivers/mtd/maps/bfin-async-flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ static int bfin_flash_probe(struct platform_device *pdev)
172172
return 0;
173173
}
174174

175-
static int __devexit bfin_flash_remove(struct platform_device *pdev)
175+
static int bfin_flash_remove(struct platform_device *pdev)
176176
{
177177
struct async_state *state = platform_get_drvdata(pdev);
178178
gpio_free(state->enet_flash_pin);

drivers/mtd/maps/ck804xrom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ static int ck804xrom_init_one (struct pci_dev *pdev,
320320
}
321321

322322

323-
static void __devexit ck804xrom_remove_one (struct pci_dev *pdev)
323+
static void ck804xrom_remove_one (struct pci_dev *pdev)
324324
{
325325
struct ck804xrom_window *window = &ck804xrom_window;
326326

0 commit comments

Comments
 (0)