aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:26:24 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 15:00:24 -0500
commit4b12b896c27c3b54592816606679f5b02f638930 (patch)
tree9a04fd492c18267c73a817cc6216ef3d26a8154a /drivers/watchdog
parent1d1313686422db3bffb2e7bd8eb2ccd9027d3783 (diff)
watchdog: 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> 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>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/acquirewdt.c2
-rw-r--r--drivers/watchdog/advantechwdt.c2
-rw-r--r--drivers/watchdog/ar7_wdt.c2
-rw-r--r--drivers/watchdog/at91rm9200_wdt.c2
-rw-r--r--drivers/watchdog/ath79_wdt.c2
-rw-r--r--drivers/watchdog/bcm63xx_wdt.c2
-rw-r--r--drivers/watchdog/bfin_wdt.c2
-rw-r--r--drivers/watchdog/cpu5wdt.c4
-rw-r--r--drivers/watchdog/cpwd.c2
-rw-r--r--drivers/watchdog/da9052_wdt.c2
-rw-r--r--drivers/watchdog/davinci_wdt.c2
-rw-r--r--drivers/watchdog/dw_wdt.c2
-rw-r--r--drivers/watchdog/ep93xx_wdt.c2
-rw-r--r--drivers/watchdog/gef_wdt.c2
-rw-r--r--drivers/watchdog/geodewdt.c2
-rw-r--r--drivers/watchdog/hpwdt.c2
-rw-r--r--drivers/watchdog/i6300esb.c2
-rw-r--r--drivers/watchdog/iTCO_wdt.c4
-rw-r--r--drivers/watchdog/ib700wdt.c2
-rw-r--r--drivers/watchdog/ie6xx_wdt.c2
-rw-r--r--drivers/watchdog/jz4740_wdt.c2
-rw-r--r--drivers/watchdog/ks8695_wdt.c2
-rw-r--r--drivers/watchdog/lantiq_wdt.c2
-rw-r--r--drivers/watchdog/max63xx_wdt.c2
-rw-r--r--drivers/watchdog/mpc8xxx_wdt.c2
-rw-r--r--drivers/watchdog/mpcore_wdt.c2
-rw-r--r--drivers/watchdog/mtx-1_wdt.c2
-rw-r--r--drivers/watchdog/mv64x60_wdt.c2
-rw-r--r--drivers/watchdog/nuc900_wdt.c2
-rw-r--r--drivers/watchdog/nv_tco.c4
-rw-r--r--drivers/watchdog/of_xilinx_wdt.c2
-rw-r--r--drivers/watchdog/omap_wdt.c2
-rw-r--r--drivers/watchdog/orion_wdt.c2
-rw-r--r--drivers/watchdog/pcwd.c2
-rw-r--r--drivers/watchdog/pcwd_pci.c2
-rw-r--r--drivers/watchdog/pnx4008_wdt.c2
-rw-r--r--drivers/watchdog/rc32434_wdt.c2
-rw-r--r--drivers/watchdog/rdc321x_wdt.c2
-rw-r--r--drivers/watchdog/riowd.c2
-rw-r--r--drivers/watchdog/s3c2410_wdt.c2
-rw-r--r--drivers/watchdog/sch311x_wdt.c2
-rw-r--r--drivers/watchdog/shwdt.c2
-rw-r--r--drivers/watchdog/sp5100_tco.c4
-rw-r--r--drivers/watchdog/sp805_wdt.c2
-rw-r--r--drivers/watchdog/stmp3xxx_wdt.c2
-rw-r--r--drivers/watchdog/ts72xx_wdt.c2
-rw-r--r--drivers/watchdog/twl4030_wdt.c2
-rw-r--r--drivers/watchdog/via_wdt.c2
-rw-r--r--drivers/watchdog/wdt_pci.c2
-rw-r--r--drivers/watchdog/wm831x_wdt.c2
-rw-r--r--drivers/watchdog/wm8350_wdt.c2
-rw-r--r--drivers/watchdog/xen_wdt.c2
52 files changed, 56 insertions, 56 deletions
diff --git a/drivers/watchdog/acquirewdt.c b/drivers/watchdog/acquirewdt.c
index e009f938e667..24a517777fa0 100644
--- a/drivers/watchdog/acquirewdt.c
+++ b/drivers/watchdog/acquirewdt.c
@@ -275,7 +275,7 @@ out:
275 return ret; 275 return ret;
276} 276}
277 277
278static int __devexit acq_remove(struct platform_device *dev) 278static int acq_remove(struct platform_device *dev)
279{ 279{
280 misc_deregister(&acq_miscdev); 280 misc_deregister(&acq_miscdev);
281 release_region(wdt_start, 1); 281 release_region(wdt_start, 1);
diff --git a/drivers/watchdog/advantechwdt.c b/drivers/watchdog/advantechwdt.c
index cc50c57a3575..cc6702fc5268 100644
--- a/drivers/watchdog/advantechwdt.c
+++ b/drivers/watchdog/advantechwdt.c
@@ -282,7 +282,7 @@ unreg_stop:
282 goto out; 282 goto out;
283} 283}
284 284
285static int __devexit advwdt_remove(struct platform_device *dev) 285static int advwdt_remove(struct platform_device *dev)
286{ 286{
287 misc_deregister(&advwdt_miscdev); 287 misc_deregister(&advwdt_miscdev);
288 release_region(wdt_start, 1); 288 release_region(wdt_start, 1);
diff --git a/drivers/watchdog/ar7_wdt.c b/drivers/watchdog/ar7_wdt.c
index 154347ec0fc3..3003e2a9580b 100644
--- a/drivers/watchdog/ar7_wdt.c
+++ b/drivers/watchdog/ar7_wdt.c
@@ -314,7 +314,7 @@ out:
314 return rc; 314 return rc;
315} 315}
316 316
317static int __devexit ar7_wdt_remove(struct platform_device *pdev) 317static int ar7_wdt_remove(struct platform_device *pdev)
318{ 318{
319 misc_deregister(&ar7_wdt_miscdev); 319 misc_deregister(&ar7_wdt_miscdev);
320 clk_put(vbus_clk); 320 clk_put(vbus_clk);
diff --git a/drivers/watchdog/at91rm9200_wdt.c b/drivers/watchdog/at91rm9200_wdt.c
index cc290bbcb39e..89831ed24a4f 100644
--- a/drivers/watchdog/at91rm9200_wdt.c
+++ b/drivers/watchdog/at91rm9200_wdt.c
@@ -216,7 +216,7 @@ static int at91wdt_probe(struct platform_device *pdev)
216 return 0; 216 return 0;
217} 217}
218 218
219static int __devexit at91wdt_remove(struct platform_device *pdev) 219static int at91wdt_remove(struct platform_device *pdev)
220{ 220{
221 int res; 221 int res;
222 222
diff --git a/drivers/watchdog/ath79_wdt.c b/drivers/watchdog/ath79_wdt.c
index 5c0967d43021..7c8ede7816b1 100644
--- a/drivers/watchdog/ath79_wdt.c
+++ b/drivers/watchdog/ath79_wdt.c
@@ -270,7 +270,7 @@ err_clk_put:
270 return err; 270 return err;
271} 271}
272 272
273static int __devexit ath79_wdt_remove(struct platform_device *pdev) 273static int ath79_wdt_remove(struct platform_device *pdev)
274{ 274{
275 misc_deregister(&ath79_wdt_miscdev); 275 misc_deregister(&ath79_wdt_miscdev);
276 clk_disable(wdt_clk); 276 clk_disable(wdt_clk);
diff --git a/drivers/watchdog/bcm63xx_wdt.c b/drivers/watchdog/bcm63xx_wdt.c
index 5a7cff6e093c..b2b80d4ac818 100644
--- a/drivers/watchdog/bcm63xx_wdt.c
+++ b/drivers/watchdog/bcm63xx_wdt.c
@@ -286,7 +286,7 @@ unmap:
286 return ret; 286 return ret;
287} 287}
288 288
289static int __devexit bcm63xx_wdt_remove(struct platform_device *pdev) 289static int bcm63xx_wdt_remove(struct platform_device *pdev)
290{ 290{
291 if (!nowayout) 291 if (!nowayout)
292 bcm63xx_wdt_pause(); 292 bcm63xx_wdt_pause();
diff --git a/drivers/watchdog/bfin_wdt.c b/drivers/watchdog/bfin_wdt.c
index 241f8af88d15..5d36d6fb4969 100644
--- a/drivers/watchdog/bfin_wdt.c
+++ b/drivers/watchdog/bfin_wdt.c
@@ -379,7 +379,7 @@ static int bfin_wdt_probe(struct platform_device *pdev)
379 * Unregisters the misc device. Actual device 379 * Unregisters the misc device. Actual device
380 * deinitialization is handled by bfin_wdt_close(). 380 * deinitialization is handled by bfin_wdt_close().
381 */ 381 */
382static int __devexit bfin_wdt_remove(struct platform_device *pdev) 382static int bfin_wdt_remove(struct platform_device *pdev)
383{ 383{
384 misc_deregister(&bfin_wdt_miscdev); 384 misc_deregister(&bfin_wdt_miscdev);
385 return 0; 385 return 0;
diff --git a/drivers/watchdog/cpu5wdt.c b/drivers/watchdog/cpu5wdt.c
index 6eb710b5be76..cd87758abac3 100644
--- a/drivers/watchdog/cpu5wdt.c
+++ b/drivers/watchdog/cpu5wdt.c
@@ -261,7 +261,7 @@ static int cpu5wdt_init_module(void)
261 return cpu5wdt_init(); 261 return cpu5wdt_init();
262} 262}
263 263
264static void __devexit cpu5wdt_exit(void) 264static void cpu5wdt_exit(void)
265{ 265{
266 if (cpu5wdt_device.queue) { 266 if (cpu5wdt_device.queue) {
267 cpu5wdt_device.queue = 0; 267 cpu5wdt_device.queue = 0;
@@ -274,7 +274,7 @@ static void __devexit cpu5wdt_exit(void)
274 274
275} 275}
276 276
277static void __devexit cpu5wdt_exit_module(void) 277static void cpu5wdt_exit_module(void)
278{ 278{
279 cpu5wdt_exit(); 279 cpu5wdt_exit();
280} 280}
diff --git a/drivers/watchdog/cpwd.c b/drivers/watchdog/cpwd.c
index 731578b3b440..11d55ce5ca81 100644
--- a/drivers/watchdog/cpwd.c
+++ b/drivers/watchdog/cpwd.c
@@ -640,7 +640,7 @@ out_free:
640 goto out; 640 goto out;
641} 641}
642 642
643static int __devexit cpwd_remove(struct platform_device *op) 643static int cpwd_remove(struct platform_device *op)
644{ 644{
645 struct cpwd *p = dev_get_drvdata(&op->dev); 645 struct cpwd *p = dev_get_drvdata(&op->dev);
646 int i; 646 int i;
diff --git a/drivers/watchdog/da9052_wdt.c b/drivers/watchdog/da9052_wdt.c
index 93a316570294..8be70d8f2680 100644
--- a/drivers/watchdog/da9052_wdt.c
+++ b/drivers/watchdog/da9052_wdt.c
@@ -224,7 +224,7 @@ err:
224 return ret; 224 return ret;
225} 225}
226 226
227static int __devexit da9052_wdt_remove(struct platform_device *pdev) 227static int da9052_wdt_remove(struct platform_device *pdev)
228{ 228{
229 struct da9052_wdt_data *driver_data = dev_get_drvdata(&pdev->dev); 229 struct da9052_wdt_data *driver_data = dev_get_drvdata(&pdev->dev);
230 230
diff --git a/drivers/watchdog/davinci_wdt.c b/drivers/watchdog/davinci_wdt.c
index 6fc22d2e5e18..8791879e5181 100644
--- a/drivers/watchdog/davinci_wdt.c
+++ b/drivers/watchdog/davinci_wdt.c
@@ -248,7 +248,7 @@ static int davinci_wdt_probe(struct platform_device *pdev)
248 return ret; 248 return ret;
249} 249}
250 250
251static int __devexit davinci_wdt_remove(struct platform_device *pdev) 251static int davinci_wdt_remove(struct platform_device *pdev)
252{ 252{
253 misc_deregister(&davinci_wdt_miscdev); 253 misc_deregister(&davinci_wdt_miscdev);
254 if (wdt_mem) { 254 if (wdt_mem) {
diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c
index 49e24e5ac4ac..a0eba3c40e25 100644
--- a/drivers/watchdog/dw_wdt.c
+++ b/drivers/watchdog/dw_wdt.c
@@ -333,7 +333,7 @@ out_put_clk:
333 return ret; 333 return ret;
334} 334}
335 335
336static int __devexit dw_wdt_drv_remove(struct platform_device *pdev) 336static int dw_wdt_drv_remove(struct platform_device *pdev)
337{ 337{
338 misc_deregister(&dw_wdt_miscdev); 338 misc_deregister(&dw_wdt_miscdev);
339 339
diff --git a/drivers/watchdog/ep93xx_wdt.c b/drivers/watchdog/ep93xx_wdt.c
index f1bd88c5a204..e0574844c313 100644
--- a/drivers/watchdog/ep93xx_wdt.c
+++ b/drivers/watchdog/ep93xx_wdt.c
@@ -156,7 +156,7 @@ static int ep93xx_wdt_probe(struct platform_device *pdev)
156 return 0; 156 return 0;
157} 157}
158 158
159static int __devexit ep93xx_wdt_remove(struct platform_device *pdev) 159static int ep93xx_wdt_remove(struct platform_device *pdev)
160{ 160{
161 watchdog_unregister_device(&ep93xx_wdt_wdd); 161 watchdog_unregister_device(&ep93xx_wdt_wdd);
162 return 0; 162 return 0;
diff --git a/drivers/watchdog/gef_wdt.c b/drivers/watchdog/gef_wdt.c
index 276f0092e6db..b9c5b58e59d3 100644
--- a/drivers/watchdog/gef_wdt.c
+++ b/drivers/watchdog/gef_wdt.c
@@ -285,7 +285,7 @@ static int gef_wdt_probe(struct platform_device *dev)
285 return misc_register(&gef_wdt_miscdev); 285 return misc_register(&gef_wdt_miscdev);
286} 286}
287 287
288static int __devexit gef_wdt_remove(struct platform_device *dev) 288static int gef_wdt_remove(struct platform_device *dev)
289{ 289{
290 misc_deregister(&gef_wdt_miscdev); 290 misc_deregister(&gef_wdt_miscdev);
291 291
diff --git a/drivers/watchdog/geodewdt.c b/drivers/watchdog/geodewdt.c
index 28a3a8717262..fcd599d4e225 100644
--- a/drivers/watchdog/geodewdt.c
+++ b/drivers/watchdog/geodewdt.c
@@ -243,7 +243,7 @@ static int geodewdt_probe(struct platform_device *dev)
243 return ret; 243 return ret;
244} 244}
245 245
246static int __devexit geodewdt_remove(struct platform_device *dev) 246static int geodewdt_remove(struct platform_device *dev)
247{ 247{
248 misc_deregister(&geodewdt_miscdev); 248 misc_deregister(&geodewdt_miscdev);
249 return 0; 249 return 0;
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c
index cc25ddfa84eb..8717255ec7be 100644
--- a/drivers/watchdog/hpwdt.c
+++ b/drivers/watchdog/hpwdt.c
@@ -848,7 +848,7 @@ error_pci_iomap:
848 return retval; 848 return retval;
849} 849}
850 850
851static void __devexit hpwdt_exit(struct pci_dev *dev) 851static void hpwdt_exit(struct pci_dev *dev)
852{ 852{
853 if (!nowayout) 853 if (!nowayout)
854 hpwdt_stop(); 854 hpwdt_stop();
diff --git a/drivers/watchdog/i6300esb.c b/drivers/watchdog/i6300esb.c
index 31b87db90261..2b2ea13d03ea 100644
--- a/drivers/watchdog/i6300esb.c
+++ b/drivers/watchdog/i6300esb.c
@@ -465,7 +465,7 @@ err_unmap:
465 return ret; 465 return ret;
466} 466}
467 467
468static void __devexit esb_remove(struct pci_dev *pdev) 468static void esb_remove(struct pci_dev *pdev)
469{ 469{
470 /* Stop the timer before we leave */ 470 /* Stop the timer before we leave */
471 if (!nowayout) 471 if (!nowayout)
diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c
index fb341df65614..6130321da387 100644
--- a/drivers/watchdog/iTCO_wdt.c
+++ b/drivers/watchdog/iTCO_wdt.c
@@ -364,7 +364,7 @@ static struct watchdog_device iTCO_wdt_watchdog_dev = {
364 * Init & exit routines 364 * Init & exit routines
365 */ 365 */
366 366
367static void __devexit iTCO_wdt_cleanup(void) 367static void iTCO_wdt_cleanup(void)
368{ 368{
369 /* Stop the timer before we leave */ 369 /* Stop the timer before we leave */
370 if (!nowayout) 370 if (!nowayout)
@@ -533,7 +533,7 @@ out:
533 return ret; 533 return ret;
534} 534}
535 535
536static int __devexit iTCO_wdt_remove(struct platform_device *dev) 536static int iTCO_wdt_remove(struct platform_device *dev)
537{ 537{
538 if (iTCO_wdt_private.tco_res || iTCO_wdt_private.smi_res) 538 if (iTCO_wdt_private.tco_res || iTCO_wdt_private.smi_res)
539 iTCO_wdt_cleanup(); 539 iTCO_wdt_cleanup();
diff --git a/drivers/watchdog/ib700wdt.c b/drivers/watchdog/ib700wdt.c
index 5249596db2ab..eb6b5cc98ec6 100644
--- a/drivers/watchdog/ib700wdt.c
+++ b/drivers/watchdog/ib700wdt.c
@@ -319,7 +319,7 @@ out_nostopreg:
319 return res; 319 return res;
320} 320}
321 321
322static int __devexit ibwdt_remove(struct platform_device *dev) 322static int ibwdt_remove(struct platform_device *dev)
323{ 323{
324 misc_deregister(&ibwdt_miscdev); 324 misc_deregister(&ibwdt_miscdev);
325 release_region(WDT_START, 1); 325 release_region(WDT_START, 1);
diff --git a/drivers/watchdog/ie6xx_wdt.c b/drivers/watchdog/ie6xx_wdt.c
index 94eef6fec0f3..e24ef6a6e064 100644
--- a/drivers/watchdog/ie6xx_wdt.c
+++ b/drivers/watchdog/ie6xx_wdt.c
@@ -295,7 +295,7 @@ misc_register_error:
295 return ret; 295 return ret;
296} 296}
297 297
298static int __devexit ie6xx_wdt_remove(struct platform_device *pdev) 298static int ie6xx_wdt_remove(struct platform_device *pdev)
299{ 299{
300 struct resource *res; 300 struct resource *res;
301 301
diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c
index eb7008a1d6e6..a61408fa0c94 100644
--- a/drivers/watchdog/jz4740_wdt.c
+++ b/drivers/watchdog/jz4740_wdt.c
@@ -197,7 +197,7 @@ err_out:
197 return ret; 197 return ret;
198} 198}
199 199
200static int __devexit jz4740_wdt_remove(struct platform_device *pdev) 200static int jz4740_wdt_remove(struct platform_device *pdev)
201{ 201{
202 struct jz4740_wdt_drvdata *drvdata = platform_get_drvdata(pdev); 202 struct jz4740_wdt_drvdata *drvdata = platform_get_drvdata(pdev);
203 203
diff --git a/drivers/watchdog/ks8695_wdt.c b/drivers/watchdog/ks8695_wdt.c
index c305adb49fbf..dce9ecffd44a 100644
--- a/drivers/watchdog/ks8695_wdt.c
+++ b/drivers/watchdog/ks8695_wdt.c
@@ -252,7 +252,7 @@ static int ks8695wdt_probe(struct platform_device *pdev)
252 return 0; 252 return 0;
253} 253}
254 254
255static int __devexit ks8695wdt_remove(struct platform_device *pdev) 255static int ks8695wdt_remove(struct platform_device *pdev)
256{ 256{
257 int res; 257 int res;
258 258
diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c
index fd9f43c48d47..79fe01b42339 100644
--- a/drivers/watchdog/lantiq_wdt.c
+++ b/drivers/watchdog/lantiq_wdt.c
@@ -220,7 +220,7 @@ ltq_wdt_probe(struct platform_device *pdev)
220 return misc_register(&ltq_wdt_miscdev); 220 return misc_register(&ltq_wdt_miscdev);
221} 221}
222 222
223static int __devexit 223static int
224ltq_wdt_remove(struct platform_device *pdev) 224ltq_wdt_remove(struct platform_device *pdev)
225{ 225{
226 misc_deregister(&ltq_wdt_miscdev); 226 misc_deregister(&ltq_wdt_miscdev);
diff --git a/drivers/watchdog/max63xx_wdt.c b/drivers/watchdog/max63xx_wdt.c
index b572c751ebf5..773c661723ca 100644
--- a/drivers/watchdog/max63xx_wdt.c
+++ b/drivers/watchdog/max63xx_wdt.c
@@ -209,7 +209,7 @@ static int max63xx_wdt_probe(struct platform_device *pdev)
209 return watchdog_register_device(&max63xx_wdt_dev); 209 return watchdog_register_device(&max63xx_wdt_dev);
210} 210}
211 211
212static int __devexit max63xx_wdt_remove(struct platform_device *pdev) 212static int max63xx_wdt_remove(struct platform_device *pdev)
213{ 213{
214 watchdog_unregister_device(&max63xx_wdt_dev); 214 watchdog_unregister_device(&max63xx_wdt_dev);
215 return 0; 215 return 0;
diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c
index 5c23a6bac944..da2752063bb7 100644
--- a/drivers/watchdog/mpc8xxx_wdt.c
+++ b/drivers/watchdog/mpc8xxx_wdt.c
@@ -245,7 +245,7 @@ err_unmap:
245 return ret; 245 return ret;
246} 246}
247 247
248static int __devexit mpc8xxx_wdt_remove(struct platform_device *ofdev) 248static int mpc8xxx_wdt_remove(struct platform_device *ofdev)
249{ 249{
250 mpc8xxx_wdt_pr_warn("watchdog removed"); 250 mpc8xxx_wdt_pr_warn("watchdog removed");
251 del_timer_sync(&wdt_timer); 251 del_timer_sync(&wdt_timer);
diff --git a/drivers/watchdog/mpcore_wdt.c b/drivers/watchdog/mpcore_wdt.c
index 4f90ac5910af..a84eb551ea27 100644
--- a/drivers/watchdog/mpcore_wdt.c
+++ b/drivers/watchdog/mpcore_wdt.c
@@ -378,7 +378,7 @@ static int mpcore_wdt_probe(struct platform_device *pdev)
378 return 0; 378 return 0;
379} 379}
380 380
381static int __devexit mpcore_wdt_remove(struct platform_device *pdev) 381static int mpcore_wdt_remove(struct platform_device *pdev)
382{ 382{
383 platform_set_drvdata(pdev, NULL); 383 platform_set_drvdata(pdev, NULL);
384 384
diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c
index 8c642763ca6e..14dab6ff87aa 100644
--- a/drivers/watchdog/mtx-1_wdt.c
+++ b/drivers/watchdog/mtx-1_wdt.c
@@ -233,7 +233,7 @@ static int mtx1_wdt_probe(struct platform_device *pdev)
233 return 0; 233 return 0;
234} 234}
235 235
236static int __devexit mtx1_wdt_remove(struct platform_device *pdev) 236static int mtx1_wdt_remove(struct platform_device *pdev)
237{ 237{
238 /* FIXME: do we need to lock this test ? */ 238 /* FIXME: do we need to lock this test ? */
239 if (mtx1_wdt_device.queue) { 239 if (mtx1_wdt_device.queue) {
diff --git a/drivers/watchdog/mv64x60_wdt.c b/drivers/watchdog/mv64x60_wdt.c
index 2876027a8886..c7fb878ca493 100644
--- a/drivers/watchdog/mv64x60_wdt.c
+++ b/drivers/watchdog/mv64x60_wdt.c
@@ -287,7 +287,7 @@ static int mv64x60_wdt_probe(struct platform_device *dev)
287 return misc_register(&mv64x60_wdt_miscdev); 287 return misc_register(&mv64x60_wdt_miscdev);
288} 288}
289 289
290static int __devexit mv64x60_wdt_remove(struct platform_device *dev) 290static int mv64x60_wdt_remove(struct platform_device *dev)
291{ 291{
292 misc_deregister(&mv64x60_wdt_miscdev); 292 misc_deregister(&mv64x60_wdt_miscdev);
293 293
diff --git a/drivers/watchdog/nuc900_wdt.c b/drivers/watchdog/nuc900_wdt.c
index d05daefa8640..04c45a102992 100644
--- a/drivers/watchdog/nuc900_wdt.c
+++ b/drivers/watchdog/nuc900_wdt.c
@@ -309,7 +309,7 @@ err_get:
309 return ret; 309 return ret;
310} 310}
311 311
312static int __devexit nuc900wdt_remove(struct platform_device *pdev) 312static int nuc900wdt_remove(struct platform_device *pdev)
313{ 313{
314 misc_deregister(&nuc900wdt_miscdev); 314 misc_deregister(&nuc900wdt_miscdev);
315 315
diff --git a/drivers/watchdog/nv_tco.c b/drivers/watchdog/nv_tco.c
index 45452845faca..59cf19eeea07 100644
--- a/drivers/watchdog/nv_tco.c
+++ b/drivers/watchdog/nv_tco.c
@@ -423,7 +423,7 @@ unreg_region:
423 return ret; 423 return ret;
424} 424}
425 425
426static void __devexit nv_tco_cleanup(void) 426static void nv_tco_cleanup(void)
427{ 427{
428 u32 val; 428 u32 val;
429 429
@@ -445,7 +445,7 @@ static void __devexit nv_tco_cleanup(void)
445 release_region(tcobase, 0x10); 445 release_region(tcobase, 0x10);
446} 446}
447 447
448static int __devexit nv_tco_remove(struct platform_device *dev) 448static int nv_tco_remove(struct platform_device *dev)
449{ 449{
450 if (tcobase) 450 if (tcobase)
451 nv_tco_cleanup(); 451 nv_tco_cleanup();
diff --git a/drivers/watchdog/of_xilinx_wdt.c b/drivers/watchdog/of_xilinx_wdt.c
index 3ddc4e93906f..2761ddb08501 100644
--- a/drivers/watchdog/of_xilinx_wdt.c
+++ b/drivers/watchdog/of_xilinx_wdt.c
@@ -383,7 +383,7 @@ err_out:
383 return rc; 383 return rc;
384} 384}
385 385
386static int __devexit xwdt_remove(struct platform_device *dev) 386static int xwdt_remove(struct platform_device *dev)
387{ 387{
388 misc_deregister(&xwdt_miscdev); 388 misc_deregister(&xwdt_miscdev);
389 iounmap(xdev.base); 389 iounmap(xdev.base);
diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c
index 36a724614383..d8da5162f0dd 100644
--- a/drivers/watchdog/omap_wdt.c
+++ b/drivers/watchdog/omap_wdt.c
@@ -359,7 +359,7 @@ static void omap_wdt_shutdown(struct platform_device *pdev)
359 } 359 }
360} 360}
361 361
362static int __devexit omap_wdt_remove(struct platform_device *pdev) 362static int omap_wdt_remove(struct platform_device *pdev)
363{ 363{
364 struct omap_wdt_dev *wdev = platform_get_drvdata(pdev); 364 struct omap_wdt_dev *wdev = platform_get_drvdata(pdev);
365 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 365 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_wdt.c
index f722635f3ecc..0478b001b1ef 100644
--- a/drivers/watchdog/orion_wdt.c
+++ b/drivers/watchdog/orion_wdt.c
@@ -181,7 +181,7 @@ static int orion_wdt_probe(struct platform_device *pdev)
181 return 0; 181 return 0;
182} 182}
183 183
184static int __devexit orion_wdt_remove(struct platform_device *pdev) 184static int orion_wdt_remove(struct platform_device *pdev)
185{ 185{
186 watchdog_unregister_device(&orion_wdt); 186 watchdog_unregister_device(&orion_wdt);
187 clk_disable_unprepare(clk); 187 clk_disable_unprepare(clk);
diff --git a/drivers/watchdog/pcwd.c b/drivers/watchdog/pcwd.c
index cef246abdd66..33e49a7f889f 100644
--- a/drivers/watchdog/pcwd.c
+++ b/drivers/watchdog/pcwd.c
@@ -949,7 +949,7 @@ error_request_region:
949 return ret; 949 return ret;
950} 950}
951 951
952static int __devexit pcwd_isa_remove(struct device *dev, unsigned int id) 952static int pcwd_isa_remove(struct device *dev, unsigned int id)
953{ 953{
954 if (debug >= DEBUG) 954 if (debug >= DEBUG)
955 pr_debug("pcwd_isa_remove id=%d\n", id); 955 pr_debug("pcwd_isa_remove id=%d\n", id);
diff --git a/drivers/watchdog/pcwd_pci.c b/drivers/watchdog/pcwd_pci.c
index 6ec84b5bb508..7890f84edf76 100644
--- a/drivers/watchdog/pcwd_pci.c
+++ b/drivers/watchdog/pcwd_pci.c
@@ -785,7 +785,7 @@ err_out_disable_device:
785 return ret; 785 return ret;
786} 786}
787 787
788static void __devexit pcipcwd_card_exit(struct pci_dev *pdev) 788static void pcipcwd_card_exit(struct pci_dev *pdev)
789{ 789{
790 /* Stop the timer before we leave */ 790 /* Stop the timer before we leave */
791 if (!nowayout) 791 if (!nowayout)
diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c
index 4f7afeab6698..dcba5dab6c29 100644
--- a/drivers/watchdog/pnx4008_wdt.c
+++ b/drivers/watchdog/pnx4008_wdt.c
@@ -192,7 +192,7 @@ out:
192 return ret; 192 return ret;
193} 193}
194 194
195static int __devexit pnx4008_wdt_remove(struct platform_device *pdev) 195static int pnx4008_wdt_remove(struct platform_device *pdev)
196{ 196{
197 watchdog_unregister_device(&pnx4008_wdd); 197 watchdog_unregister_device(&pnx4008_wdd);
198 198
diff --git a/drivers/watchdog/rc32434_wdt.c b/drivers/watchdog/rc32434_wdt.c
index 22662808c37d..f78bc008cbb7 100644
--- a/drivers/watchdog/rc32434_wdt.c
+++ b/drivers/watchdog/rc32434_wdt.c
@@ -306,7 +306,7 @@ unmap:
306 return ret; 306 return ret;
307} 307}
308 308
309static int __devexit rc32434_wdt_remove(struct platform_device *pdev) 309static int rc32434_wdt_remove(struct platform_device *pdev)
310{ 310{
311 misc_deregister(&rc32434_wdt_miscdev); 311 misc_deregister(&rc32434_wdt_miscdev);
312 iounmap(wdt_reg); 312 iounmap(wdt_reg);
diff --git a/drivers/watchdog/rdc321x_wdt.c b/drivers/watchdog/rdc321x_wdt.c
index 94667064c8cf..b0f116c2fd53 100644
--- a/drivers/watchdog/rdc321x_wdt.c
+++ b/drivers/watchdog/rdc321x_wdt.c
@@ -272,7 +272,7 @@ static int rdc321x_wdt_probe(struct platform_device *pdev)
272 return 0; 272 return 0;
273} 273}
274 274
275static int __devexit rdc321x_wdt_remove(struct platform_device *pdev) 275static int rdc321x_wdt_remove(struct platform_device *pdev)
276{ 276{
277 if (rdc321x_wdt_device.queue) { 277 if (rdc321x_wdt_device.queue) {
278 rdc321x_wdt_device.queue = 0; 278 rdc321x_wdt_device.queue = 0;
diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c
index 84f523338ff4..0040451aec1d 100644
--- a/drivers/watchdog/riowd.c
+++ b/drivers/watchdog/riowd.c
@@ -220,7 +220,7 @@ out:
220 return err; 220 return err;
221} 221}
222 222
223static int __devexit riowd_remove(struct platform_device *op) 223static int riowd_remove(struct platform_device *op)
224{ 224{
225 struct riowd *p = dev_get_drvdata(&op->dev); 225 struct riowd *p = dev_get_drvdata(&op->dev);
226 226
diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c
index 2e28c145081c..b0dab10fc6a5 100644
--- a/drivers/watchdog/s3c2410_wdt.c
+++ b/drivers/watchdog/s3c2410_wdt.c
@@ -437,7 +437,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
437 return ret; 437 return ret;
438} 438}
439 439
440static int __devexit s3c2410wdt_remove(struct platform_device *dev) 440static int s3c2410wdt_remove(struct platform_device *dev)
441{ 441{
442 watchdog_unregister_device(&s3c2410_wdd); 442 watchdog_unregister_device(&s3c2410_wdd);
443 443
diff --git a/drivers/watchdog/sch311x_wdt.c b/drivers/watchdog/sch311x_wdt.c
index 8ecec2919797..af7b136b1874 100644
--- a/drivers/watchdog/sch311x_wdt.c
+++ b/drivers/watchdog/sch311x_wdt.c
@@ -429,7 +429,7 @@ exit:
429 return err; 429 return err;
430} 430}
431 431
432static int __devexit sch311x_wdt_remove(struct platform_device *pdev) 432static int sch311x_wdt_remove(struct platform_device *pdev)
433{ 433{
434 /* Stop the timer before we leave */ 434 /* Stop the timer before we leave */
435 if (!nowayout) 435 if (!nowayout)
diff --git a/drivers/watchdog/shwdt.c b/drivers/watchdog/shwdt.c
index 9c57af943b87..6a89e4045fbd 100644
--- a/drivers/watchdog/shwdt.c
+++ b/drivers/watchdog/shwdt.c
@@ -298,7 +298,7 @@ err:
298 return rc; 298 return rc;
299} 299}
300 300
301static int __devexit sh_wdt_remove(struct platform_device *pdev) 301static int sh_wdt_remove(struct platform_device *pdev)
302{ 302{
303 struct sh_wdt *wdt = platform_get_drvdata(pdev); 303 struct sh_wdt *wdt = platform_get_drvdata(pdev);
304 304
diff --git a/drivers/watchdog/sp5100_tco.c b/drivers/watchdog/sp5100_tco.c
index 7ee39a79ff1e..b3876812ff07 100644
--- a/drivers/watchdog/sp5100_tco.c
+++ b/drivers/watchdog/sp5100_tco.c
@@ -412,7 +412,7 @@ exit:
412 return ret; 412 return ret;
413} 413}
414 414
415static void __devexit sp5100_tco_cleanup(void) 415static void sp5100_tco_cleanup(void)
416{ 416{
417 /* Stop the timer before we leave */ 417 /* Stop the timer before we leave */
418 if (!nowayout) 418 if (!nowayout)
@@ -425,7 +425,7 @@ static void __devexit sp5100_tco_cleanup(void)
425 release_region(pm_iobase, SP5100_PM_IOPORTS_SIZE); 425 release_region(pm_iobase, SP5100_PM_IOPORTS_SIZE);
426} 426}
427 427
428static int __devexit sp5100_tco_remove(struct platform_device *dev) 428static int sp5100_tco_remove(struct platform_device *dev)
429{ 429{
430 if (tcobase) 430 if (tcobase)
431 sp5100_tco_cleanup(); 431 sp5100_tco_cleanup();
diff --git a/drivers/watchdog/sp805_wdt.c b/drivers/watchdog/sp805_wdt.c
index 32a5419657d2..4552847fc7fe 100644
--- a/drivers/watchdog/sp805_wdt.c
+++ b/drivers/watchdog/sp805_wdt.c
@@ -272,7 +272,7 @@ err:
272 return ret; 272 return ret;
273} 273}
274 274
275static int __devexit sp805_wdt_remove(struct amba_device *adev) 275static int sp805_wdt_remove(struct amba_device *adev)
276{ 276{
277 struct sp805_wdt *wdt = amba_get_drvdata(adev); 277 struct sp805_wdt *wdt = amba_get_drvdata(adev);
278 278
diff --git a/drivers/watchdog/stmp3xxx_wdt.c b/drivers/watchdog/stmp3xxx_wdt.c
index 254cce38cc03..1f4f69728fee 100644
--- a/drivers/watchdog/stmp3xxx_wdt.c
+++ b/drivers/watchdog/stmp3xxx_wdt.c
@@ -229,7 +229,7 @@ static int stmp3xxx_wdt_probe(struct platform_device *pdev)
229 return ret; 229 return ret;
230} 230}
231 231
232static int __devexit stmp3xxx_wdt_remove(struct platform_device *pdev) 232static int stmp3xxx_wdt_remove(struct platform_device *pdev)
233{ 233{
234 misc_deregister(&stmp3xxx_wdt_miscdev); 234 misc_deregister(&stmp3xxx_wdt_miscdev);
235 return 0; 235 return 0;
diff --git a/drivers/watchdog/ts72xx_wdt.c b/drivers/watchdog/ts72xx_wdt.c
index d6e94b4c67f6..b8a92459f10f 100644
--- a/drivers/watchdog/ts72xx_wdt.c
+++ b/drivers/watchdog/ts72xx_wdt.c
@@ -476,7 +476,7 @@ fail:
476 return error; 476 return error;
477} 477}
478 478
479static __devexit int ts72xx_wdt_remove(struct platform_device *pdev) 479static int ts72xx_wdt_remove(struct platform_device *pdev)
480{ 480{
481 struct ts72xx_wdt *wdt = platform_get_drvdata(pdev); 481 struct ts72xx_wdt *wdt = platform_get_drvdata(pdev);
482 struct resource *res; 482 struct resource *res;
diff --git a/drivers/watchdog/twl4030_wdt.c b/drivers/watchdog/twl4030_wdt.c
index 6dab509caf94..9f54b1da7185 100644
--- a/drivers/watchdog/twl4030_wdt.c
+++ b/drivers/watchdog/twl4030_wdt.c
@@ -204,7 +204,7 @@ static int twl4030_wdt_probe(struct platform_device *pdev)
204 return 0; 204 return 0;
205} 205}
206 206
207static int __devexit twl4030_wdt_remove(struct platform_device *pdev) 207static int twl4030_wdt_remove(struct platform_device *pdev)
208{ 208{
209 struct twl4030_wdt *wdt = platform_get_drvdata(pdev); 209 struct twl4030_wdt *wdt = platform_get_drvdata(pdev);
210 210
diff --git a/drivers/watchdog/via_wdt.c b/drivers/watchdog/via_wdt.c
index 098dfab82b6c..1a68f760cf86 100644
--- a/drivers/watchdog/via_wdt.c
+++ b/drivers/watchdog/via_wdt.c
@@ -229,7 +229,7 @@ err_out_disable_device:
229 return ret; 229 return ret;
230} 230}
231 231
232static void __devexit wdt_remove(struct pci_dev *pdev) 232static void wdt_remove(struct pci_dev *pdev)
233{ 233{
234 watchdog_unregister_device(&wdt_dev); 234 watchdog_unregister_device(&wdt_dev);
235 del_timer(&timer); 235 del_timer(&timer);
diff --git a/drivers/watchdog/wdt_pci.c b/drivers/watchdog/wdt_pci.c
index 13d27c878db4..36a54c0e32dd 100644
--- a/drivers/watchdog/wdt_pci.c
+++ b/drivers/watchdog/wdt_pci.c
@@ -705,7 +705,7 @@ out_pci:
705} 705}
706 706
707 707
708static void __devexit wdtpci_remove_one(struct pci_dev *pdev) 708static void wdtpci_remove_one(struct pci_dev *pdev)
709{ 709{
710 /* here we assume only one device will ever have 710 /* here we assume only one device will ever have
711 * been picked up and registered by probe function */ 711 * been picked up and registered by probe function */
diff --git a/drivers/watchdog/wm831x_wdt.c b/drivers/watchdog/wm831x_wdt.c
index 170c82e97454..9dcb6d082277 100644
--- a/drivers/watchdog/wm831x_wdt.c
+++ b/drivers/watchdog/wm831x_wdt.c
@@ -292,7 +292,7 @@ err:
292 return ret; 292 return ret;
293} 293}
294 294
295static int __devexit wm831x_wdt_remove(struct platform_device *pdev) 295static int wm831x_wdt_remove(struct platform_device *pdev)
296{ 296{
297 struct wm831x_wdt_drvdata *driver_data = dev_get_drvdata(&pdev->dev); 297 struct wm831x_wdt_drvdata *driver_data = dev_get_drvdata(&pdev->dev);
298 298
diff --git a/drivers/watchdog/wm8350_wdt.c b/drivers/watchdog/wm8350_wdt.c
index 4530fa00b78d..34d272ada23d 100644
--- a/drivers/watchdog/wm8350_wdt.c
+++ b/drivers/watchdog/wm8350_wdt.c
@@ -158,7 +158,7 @@ static int wm8350_wdt_probe(struct platform_device *pdev)
158 return watchdog_register_device(&wm8350_wdt); 158 return watchdog_register_device(&wm8350_wdt);
159} 159}
160 160
161static int __devexit wm8350_wdt_remove(struct platform_device *pdev) 161static int wm8350_wdt_remove(struct platform_device *pdev)
162{ 162{
163 watchdog_unregister_device(&wm8350_wdt); 163 watchdog_unregister_device(&wm8350_wdt);
164 return 0; 164 return 0;
diff --git a/drivers/watchdog/xen_wdt.c b/drivers/watchdog/xen_wdt.c
index 1eb6bdc020ac..92ad33d0cb71 100644
--- a/drivers/watchdog/xen_wdt.c
+++ b/drivers/watchdog/xen_wdt.c
@@ -280,7 +280,7 @@ static int xen_wdt_probe(struct platform_device *dev)
280 return ret; 280 return ret;
281} 281}
282 282
283static int __devexit xen_wdt_remove(struct platform_device *dev) 283static int xen_wdt_remove(struct platform_device *dev)
284{ 284{
285 /* Stop the timer before we leave */ 285 /* Stop the timer before we leave */
286 if (!nowayout) 286 if (!nowayout)