diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-19 20:52:06 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-19 20:52:06 +0000 |
commit | 0d1161d052e17092e838724c4593ea918a37078c (patch) | |
tree | e63d25624480d31cea7d9b59e7cf0fae92fe5a9a /target/linux/ar71xx/files/drivers/mtd | |
parent | 63a4f4e0f20c553bde484727f2509e2e1521c079 (diff) |
ar71xx: remove __dev{init,exit} annotations from kernel files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35687 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/mtd')
3 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c b/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c index 7939f9218c..e932491b92 100644 --- a/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c +++ b/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c @@ -872,7 +872,7 @@ ar934x_nfc_irq_handler(int irq, void *data) return IRQ_HANDLED; } -static int __devinit +static int ar934x_nfc_init_tail(struct mtd_info *mtd) { struct ar934x_nfc *nfc = mtd_to_ar934x_nfc(mtd); @@ -998,7 +998,7 @@ ar934x_nfc_init_tail(struct mtd_info *mtd) return err; } -static int __devinit +static int ar934x_nfc_probe(struct platform_device *pdev) { static const char *part_probes[] = { "cmdlinepart", NULL, }; @@ -1128,7 +1128,7 @@ err_free_nand: return ret; } -static int __devexit +static int ar934x_nfc_remove(struct platform_device *pdev) { struct ar934x_nfc *nfc; @@ -1147,7 +1147,7 @@ ar934x_nfc_remove(struct platform_device *pdev) static struct platform_driver ar934x_nfc_driver = { .probe = ar934x_nfc_probe, - .remove = __devexit_p(ar934x_nfc_remove), + .remove = ar934x_nfc_remove, .driver = { .name = AR934X_NFC_DRIVER_NAME, .owner = THIS_MODULE, diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c index a379900fe3..5b9841b76b 100644 --- a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c +++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c @@ -136,7 +136,7 @@ static void rb4xx_nand_read_buf(struct mtd_info *mtd, unsigned char *buf, pr_err("rb4xx_nand: read buf failed, err=%d\n", err); } -static int __devinit rb4xx_nand_probe(struct platform_device *pdev) +static int rb4xx_nand_probe(struct platform_device *pdev) { struct rb4xx_nand_info *info; int ret; @@ -261,7 +261,7 @@ err: return ret; } -static int __devexit rb4xx_nand_remove(struct platform_device *pdev) +static int rb4xx_nand_remove(struct platform_device *pdev) { struct rb4xx_nand_info *info = platform_get_drvdata(pdev); @@ -278,7 +278,7 @@ static int __devexit rb4xx_nand_remove(struct platform_device *pdev) static struct platform_driver rb4xx_nand_driver = { .probe = rb4xx_nand_probe, - .remove = __devexit_p(rb4xx_nand_remove), + .remove = rb4xx_nand_remove, .driver = { .name = DRV_NAME, .owner = THIS_MODULE, diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c index 94dedd8e44..a20409b108 100644 --- a/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c +++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c @@ -248,7 +248,7 @@ static void __init rb750_nand_gpio_init(struct rb750_nand_info *info) info->pdata->latch_change(~out & RB750_NAND_IO0, out & RB750_NAND_IO0); } -static int __devinit rb750_nand_probe(struct platform_device *pdev) +static int rb750_nand_probe(struct platform_device *pdev) { struct rb750_nand_info *info; struct rb7xx_nand_platform_data *pdata; @@ -315,7 +315,7 @@ err_free_info: return ret; } -static int __devexit rb750_nand_remove(struct platform_device *pdev) +static int rb750_nand_remove(struct platform_device *pdev) { struct rb750_nand_info *info = platform_get_drvdata(pdev); @@ -328,7 +328,7 @@ static int __devexit rb750_nand_remove(struct platform_device *pdev) static struct platform_driver rb750_nand_driver = { .probe = rb750_nand_probe, - .remove = __devexit_p(rb750_nand_remove), + .remove = rb750_nand_remove, .driver = { .name = DRV_NAME, .owner = THIS_MODULE, |