forked from Minki/linux
watchdog: remove use of __devexit_p
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Wim Van Sebroeck <wim@iguana.be> Cc: Wan ZongShun <mcuos.com@gmail.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Kukjin Kim <kgene.kim@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f90f54b3f3
commit
82268714bd
@ -293,7 +293,7 @@ static void acq_shutdown(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver acquirewdt_driver = {
|
||||
.probe = acq_probe,
|
||||
.remove = __devexit_p(acq_remove),
|
||||
.remove = acq_remove,
|
||||
.shutdown = acq_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -300,7 +300,7 @@ static void advwdt_shutdown(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver advwdt_driver = {
|
||||
.probe = advwdt_probe,
|
||||
.remove = __devexit_p(advwdt_remove),
|
||||
.remove = advwdt_remove,
|
||||
.shutdown = advwdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -330,7 +330,7 @@ static void ar7_wdt_shutdown(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ar7_wdt_driver = {
|
||||
.probe = ar7_wdt_probe,
|
||||
.remove = __devexit_p(ar7_wdt_remove),
|
||||
.remove = ar7_wdt_remove,
|
||||
.shutdown = ar7_wdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -254,7 +254,7 @@ static int at91wdt_resume(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver at91wdt_driver = {
|
||||
.probe = at91wdt_probe,
|
||||
.remove = __devexit_p(at91wdt_remove),
|
||||
.remove = at91wdt_remove,
|
||||
.shutdown = at91wdt_shutdown,
|
||||
.suspend = at91wdt_suspend,
|
||||
.resume = at91wdt_resume,
|
||||
|
@ -284,7 +284,7 @@ static void ath97_wdt_shutdown(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
static struct platform_driver ath79_wdt_driver = {
|
||||
.remove = __devexit_p(ath79_wdt_remove),
|
||||
.remove = ath79_wdt_remove,
|
||||
.shutdown = ath97_wdt_shutdown,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
|
@ -304,7 +304,7 @@ static void bcm63xx_wdt_shutdown(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver bcm63xx_wdt_driver = {
|
||||
.probe = bcm63xx_wdt_probe,
|
||||
.remove = __devexit_p(bcm63xx_wdt_remove),
|
||||
.remove = bcm63xx_wdt_remove,
|
||||
.shutdown = bcm63xx_wdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -401,7 +401,7 @@ static struct platform_device *bfin_wdt_device;
|
||||
|
||||
static struct platform_driver bfin_wdt_driver = {
|
||||
.probe = bfin_wdt_probe,
|
||||
.remove = __devexit_p(bfin_wdt_remove),
|
||||
.remove = bfin_wdt_remove,
|
||||
.shutdown = bfin_wdt_shutdown,
|
||||
.suspend = bfin_wdt_suspend,
|
||||
.resume = bfin_wdt_resume,
|
||||
|
@ -684,7 +684,7 @@ static struct platform_driver cpwd_driver = {
|
||||
.of_match_table = cpwd_match,
|
||||
},
|
||||
.probe = cpwd_probe,
|
||||
.remove = __devexit_p(cpwd_remove),
|
||||
.remove = cpwd_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(cpwd_driver);
|
||||
|
@ -236,7 +236,7 @@ static int __devexit da9052_wdt_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver da9052_wdt_driver = {
|
||||
.probe = da9052_wdt_probe,
|
||||
.remove = __devexit_p(da9052_wdt_remove),
|
||||
.remove = da9052_wdt_remove,
|
||||
.driver = {
|
||||
.name = "da9052-watchdog",
|
||||
},
|
||||
|
@ -268,7 +268,7 @@ static struct platform_driver platform_wdt_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = davinci_wdt_probe,
|
||||
.remove = __devexit_p(davinci_wdt_remove),
|
||||
.remove = davinci_wdt_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(platform_wdt_driver);
|
||||
|
@ -345,7 +345,7 @@ static int __devexit dw_wdt_drv_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver dw_wdt_driver = {
|
||||
.probe = dw_wdt_drv_probe,
|
||||
.remove = __devexit_p(dw_wdt_drv_remove),
|
||||
.remove = dw_wdt_drv_remove,
|
||||
.driver = {
|
||||
.name = "dw_wdt",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -168,7 +168,7 @@ static struct platform_driver ep93xx_wdt_driver = {
|
||||
.name = "ep93xx-wdt",
|
||||
},
|
||||
.probe = ep93xx_wdt_probe,
|
||||
.remove = __devexit_p(ep93xx_wdt_remove),
|
||||
.remove = ep93xx_wdt_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(ep93xx_wdt_driver);
|
||||
|
@ -256,7 +256,7 @@ static void geodewdt_shutdown(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver geodewdt_driver = {
|
||||
.probe = geodewdt_probe,
|
||||
.remove = __devexit_p(geodewdt_remove),
|
||||
.remove = geodewdt_remove,
|
||||
.shutdown = geodewdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -863,7 +863,7 @@ static struct pci_driver hpwdt_driver = {
|
||||
.name = "hpwdt",
|
||||
.id_table = hpwdt_devices,
|
||||
.probe = hpwdt_init_one,
|
||||
.remove = __devexit_p(hpwdt_exit),
|
||||
.remove = hpwdt_exit,
|
||||
};
|
||||
|
||||
MODULE_AUTHOR("Tom Mingarelli");
|
||||
|
@ -488,7 +488,7 @@ static struct pci_driver esb_driver = {
|
||||
.name = ESB_MODULE_NAME,
|
||||
.id_table = esb_pci_tbl,
|
||||
.probe = esb_probe,
|
||||
.remove = __devexit_p(esb_remove),
|
||||
.remove = esb_remove,
|
||||
.shutdown = esb_shutdown,
|
||||
};
|
||||
|
||||
|
@ -548,7 +548,7 @@ static void iTCO_wdt_shutdown(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver iTCO_wdt_driver = {
|
||||
.probe = iTCO_wdt_probe,
|
||||
.remove = __devexit_p(iTCO_wdt_remove),
|
||||
.remove = iTCO_wdt_remove,
|
||||
.shutdown = iTCO_wdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -337,7 +337,7 @@ static void ibwdt_shutdown(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver ibwdt_driver = {
|
||||
.probe = ibwdt_probe,
|
||||
.remove = __devexit_p(ibwdt_remove),
|
||||
.remove = ibwdt_remove,
|
||||
.shutdown = ibwdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -311,7 +311,7 @@ static int __devexit ie6xx_wdt_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ie6xx_wdt_driver = {
|
||||
.probe = ie6xx_wdt_probe,
|
||||
.remove = __devexit_p(ie6xx_wdt_remove),
|
||||
.remove = ie6xx_wdt_remove,
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -210,7 +210,7 @@ static int __devexit jz4740_wdt_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver jz4740_wdt_driver = {
|
||||
.probe = jz4740_wdt_probe,
|
||||
.remove = __devexit_p(jz4740_wdt_remove),
|
||||
.remove = jz4740_wdt_remove,
|
||||
.driver = {
|
||||
.name = "jz4740-wdt",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -290,7 +290,7 @@ static int ks8695wdt_resume(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ks8695wdt_driver = {
|
||||
.probe = ks8695wdt_probe,
|
||||
.remove = __devexit_p(ks8695wdt_remove),
|
||||
.remove = ks8695wdt_remove,
|
||||
.shutdown = ks8695wdt_shutdown,
|
||||
.suspend = ks8695wdt_suspend,
|
||||
.resume = ks8695wdt_resume,
|
||||
|
@ -236,7 +236,7 @@ MODULE_DEVICE_TABLE(of, ltq_wdt_match);
|
||||
|
||||
static struct platform_driver ltq_wdt_driver = {
|
||||
.probe = ltq_wdt_probe,
|
||||
.remove = __devexit_p(ltq_wdt_remove),
|
||||
.remove = ltq_wdt_remove,
|
||||
.driver = {
|
||||
.name = "wdt",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -228,7 +228,7 @@ MODULE_DEVICE_TABLE(platform, max63xx_id_table);
|
||||
|
||||
static struct platform_driver max63xx_wdt_driver = {
|
||||
.probe = max63xx_wdt_probe,
|
||||
.remove = __devexit_p(max63xx_wdt_remove),
|
||||
.remove = max63xx_wdt_remove,
|
||||
.id_table = max63xx_id_table,
|
||||
.driver = {
|
||||
.name = "max63xx_wdt",
|
||||
|
@ -281,7 +281,7 @@ MODULE_DEVICE_TABLE(of, mpc8xxx_wdt_match);
|
||||
|
||||
static struct platform_driver mpc8xxx_wdt_driver = {
|
||||
.probe = mpc8xxx_wdt_probe,
|
||||
.remove = __devexit_p(mpc8xxx_wdt_remove),
|
||||
.remove = mpc8xxx_wdt_remove,
|
||||
.driver = {
|
||||
.name = "mpc8xxx_wdt",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -415,7 +415,7 @@ MODULE_ALIAS("platform:mpcore_wdt");
|
||||
|
||||
static struct platform_driver mpcore_wdt_driver = {
|
||||
.probe = mpcore_wdt_probe,
|
||||
.remove = __devexit_p(mpcore_wdt_remove),
|
||||
.remove = mpcore_wdt_remove,
|
||||
.suspend = mpcore_wdt_suspend,
|
||||
.resume = mpcore_wdt_resume,
|
||||
.shutdown = mpcore_wdt_shutdown,
|
||||
|
@ -248,7 +248,7 @@ static int __devexit mtx1_wdt_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver mtx1_wdt_driver = {
|
||||
.probe = mtx1_wdt_probe,
|
||||
.remove = __devexit_p(mtx1_wdt_remove),
|
||||
.remove = mtx1_wdt_remove,
|
||||
.driver.name = "mtx1-wdt",
|
||||
.driver.owner = THIS_MODULE,
|
||||
};
|
||||
|
@ -300,7 +300,7 @@ static int __devexit mv64x60_wdt_remove(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver mv64x60_wdt_driver = {
|
||||
.probe = mv64x60_wdt_probe,
|
||||
.remove = __devexit_p(mv64x60_wdt_remove),
|
||||
.remove = mv64x60_wdt_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = MV64x60_WDT_NAME,
|
||||
|
@ -328,7 +328,7 @@ static int __devexit nuc900wdt_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver nuc900wdt_driver = {
|
||||
.probe = nuc900wdt_probe,
|
||||
.remove = __devexit_p(nuc900wdt_remove),
|
||||
.remove = nuc900wdt_remove,
|
||||
.driver = {
|
||||
.name = "nuc900-wdt",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -468,7 +468,7 @@ static void nv_tco_shutdown(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver nv_tco_driver = {
|
||||
.probe = nv_tco_init,
|
||||
.remove = __devexit_p(nv_tco_remove),
|
||||
.remove = nv_tco_remove,
|
||||
.shutdown = nv_tco_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -401,7 +401,7 @@ MODULE_DEVICE_TABLE(of, xwdt_of_match);
|
||||
|
||||
static struct platform_driver xwdt_driver = {
|
||||
.probe = xwdt_probe,
|
||||
.remove = __devexit_p(xwdt_remove),
|
||||
.remove = xwdt_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = WATCHDOG_NAME,
|
||||
|
@ -426,7 +426,7 @@ MODULE_DEVICE_TABLE(of, omap_wdt_of_match);
|
||||
|
||||
static struct platform_driver omap_wdt_driver = {
|
||||
.probe = omap_wdt_probe,
|
||||
.remove = __devexit_p(omap_wdt_remove),
|
||||
.remove = omap_wdt_remove,
|
||||
.shutdown = omap_wdt_shutdown,
|
||||
.suspend = omap_wdt_suspend,
|
||||
.resume = omap_wdt_resume,
|
||||
|
@ -201,7 +201,7 @@ MODULE_DEVICE_TABLE(of, orion_wdt_of_match_table);
|
||||
|
||||
static struct platform_driver orion_wdt_driver = {
|
||||
.probe = orion_wdt_probe,
|
||||
.remove = __devexit_p(orion_wdt_remove),
|
||||
.remove = orion_wdt_remove,
|
||||
.shutdown = orion_wdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -984,7 +984,7 @@ static void pcwd_isa_shutdown(struct device *dev, unsigned int id)
|
||||
static struct isa_driver pcwd_isa_driver = {
|
||||
.match = pcwd_isa_match,
|
||||
.probe = pcwd_isa_probe,
|
||||
.remove = __devexit_p(pcwd_isa_remove),
|
||||
.remove = pcwd_isa_remove,
|
||||
.shutdown = pcwd_isa_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -812,7 +812,7 @@ static struct pci_driver pcipcwd_driver = {
|
||||
.name = WATCHDOG_NAME,
|
||||
.id_table = pcipcwd_pci_tbl,
|
||||
.probe = pcipcwd_card_init,
|
||||
.remove = __devexit_p(pcipcwd_card_exit),
|
||||
.remove = pcipcwd_card_exit,
|
||||
};
|
||||
|
||||
module_pci_driver(pcipcwd_driver);
|
||||
|
@ -217,7 +217,7 @@ static struct platform_driver platform_wdt_driver = {
|
||||
.of_match_table = of_match_ptr(pnx4008_wdt_match),
|
||||
},
|
||||
.probe = pnx4008_wdt_probe,
|
||||
.remove = __devexit_p(pnx4008_wdt_remove),
|
||||
.remove = pnx4008_wdt_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(platform_wdt_driver);
|
||||
|
@ -320,7 +320,7 @@ static void rc32434_wdt_shutdown(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver rc32434_wdt_driver = {
|
||||
.probe = rc32434_wdt_probe,
|
||||
.remove = __devexit_p(rc32434_wdt_remove),
|
||||
.remove = rc32434_wdt_remove,
|
||||
.shutdown = rc32434_wdt_shutdown,
|
||||
.driver = {
|
||||
.name = "rc32434_wdt",
|
||||
|
@ -286,7 +286,7 @@ static int __devexit rdc321x_wdt_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver rdc321x_wdt_driver = {
|
||||
.probe = rdc321x_wdt_probe,
|
||||
.remove = __devexit_p(rdc321x_wdt_remove),
|
||||
.remove = rdc321x_wdt_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "rdc321x-wdt",
|
||||
|
@ -246,7 +246,7 @@ static struct platform_driver riowd_driver = {
|
||||
.of_match_table = riowd_match,
|
||||
},
|
||||
.probe = riowd_probe,
|
||||
.remove = __devexit_p(riowd_remove),
|
||||
.remove = riowd_remove,
|
||||
};
|
||||
|
||||
module_platform_driver(riowd_driver);
|
||||
|
@ -508,7 +508,7 @@ MODULE_DEVICE_TABLE(of, s3c2410_wdt_match);
|
||||
|
||||
static struct platform_driver s3c2410wdt_driver = {
|
||||
.probe = s3c2410wdt_probe,
|
||||
.remove = __devexit_p(s3c2410wdt_remove),
|
||||
.remove = s3c2410wdt_remove,
|
||||
.shutdown = s3c2410wdt_shutdown,
|
||||
.suspend = s3c2410wdt_suspend,
|
||||
.resume = s3c2410wdt_resume,
|
||||
|
@ -451,7 +451,7 @@ static void sch311x_wdt_shutdown(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver sch311x_wdt_driver = {
|
||||
.probe = sch311x_wdt_probe,
|
||||
.remove = __devexit_p(sch311x_wdt_remove),
|
||||
.remove = sch311x_wdt_remove,
|
||||
.shutdown = sch311x_wdt_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -324,7 +324,7 @@ static struct platform_driver sh_wdt_driver = {
|
||||
},
|
||||
|
||||
.probe = sh_wdt_probe,
|
||||
.remove = __devexit_p(sh_wdt_remove),
|
||||
.remove = sh_wdt_remove,
|
||||
.shutdown = sh_wdt_shutdown,
|
||||
};
|
||||
|
||||
|
@ -439,7 +439,7 @@ static void sp5100_tco_shutdown(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver sp5100_tco_driver = {
|
||||
.probe = sp5100_tco_init,
|
||||
.remove = __devexit_p(sp5100_tco_remove),
|
||||
.remove = sp5100_tco_remove,
|
||||
.shutdown = sp5100_tco_shutdown,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -326,7 +326,7 @@ static struct amba_driver sp805_wdt_driver = {
|
||||
},
|
||||
.id_table = sp805_wdt_ids,
|
||||
.probe = sp805_wdt_probe,
|
||||
.remove = __devexit_p(sp805_wdt_remove),
|
||||
.remove = sp805_wdt_remove,
|
||||
};
|
||||
|
||||
module_amba_driver(sp805_wdt_driver);
|
||||
|
@ -269,7 +269,7 @@ static struct platform_driver platform_wdt_driver = {
|
||||
.name = "stmp3xxx_wdt",
|
||||
},
|
||||
.probe = stmp3xxx_wdt_probe,
|
||||
.remove = __devexit_p(stmp3xxx_wdt_remove),
|
||||
.remove = stmp3xxx_wdt_remove,
|
||||
.suspend = stmp3xxx_wdt_suspend,
|
||||
.resume = stmp3xxx_wdt_resume,
|
||||
};
|
||||
|
@ -499,7 +499,7 @@ static __devexit int ts72xx_wdt_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ts72xx_wdt_driver = {
|
||||
.probe = ts72xx_wdt_probe,
|
||||
.remove = __devexit_p(ts72xx_wdt_remove),
|
||||
.remove = ts72xx_wdt_remove,
|
||||
.driver = {
|
||||
.name = "ts72xx-wdt",
|
||||
.owner = THIS_MODULE,
|
||||
|
@ -247,7 +247,7 @@ static int twl4030_wdt_resume(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver twl4030_wdt_driver = {
|
||||
.probe = twl4030_wdt_probe,
|
||||
.remove = __devexit_p(twl4030_wdt_remove),
|
||||
.remove = twl4030_wdt_remove,
|
||||
.suspend = twl4030_wdt_suspend,
|
||||
.resume = twl4030_wdt_resume,
|
||||
.driver = {
|
||||
|
@ -250,7 +250,7 @@ static struct pci_driver wdt_driver = {
|
||||
.name = "via_wdt",
|
||||
.id_table = wdt_pci_table,
|
||||
.probe = wdt_probe,
|
||||
.remove = __devexit_p(wdt_remove),
|
||||
.remove = wdt_remove,
|
||||
};
|
||||
|
||||
module_pci_driver(wdt_driver);
|
||||
|
@ -736,7 +736,7 @@ static struct pci_driver wdtpci_driver = {
|
||||
.name = "wdt_pci",
|
||||
.id_table = wdtpci_pci_tbl,
|
||||
.probe = wdtpci_init_one,
|
||||
.remove = __devexit_p(wdtpci_remove_one),
|
||||
.remove = wdtpci_remove_one,
|
||||
};
|
||||
|
||||
module_pci_driver(wdtpci_driver);
|
||||
|
@ -306,7 +306,7 @@ static int __devexit wm831x_wdt_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver wm831x_wdt_driver = {
|
||||
.probe = wm831x_wdt_probe,
|
||||
.remove = __devexit_p(wm831x_wdt_remove),
|
||||
.remove = wm831x_wdt_remove,
|
||||
.driver = {
|
||||
.name = "wm831x-watchdog",
|
||||
},
|
||||
|
@ -166,7 +166,7 @@ static int __devexit wm8350_wdt_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver wm8350_wdt_driver = {
|
||||
.probe = wm8350_wdt_probe,
|
||||
.remove = __devexit_p(wm8350_wdt_remove),
|
||||
.remove = wm8350_wdt_remove,
|
||||
.driver = {
|
||||
.name = "wm8350-wdt",
|
||||
},
|
||||
|
@ -315,7 +315,7 @@ static int xen_wdt_resume(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver xen_wdt_driver = {
|
||||
.probe = xen_wdt_probe,
|
||||
.remove = __devexit_p(xen_wdt_remove),
|
||||
.remove = xen_wdt_remove,
|
||||
.shutdown = xen_wdt_shutdown,
|
||||
.suspend = xen_wdt_suspend,
|
||||
.resume = xen_wdt_resume,
|
||||
|
Loading…
Reference in New Issue
Block a user