aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-11 16:13:55 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-11 16:13:55 -0500
commitcff2f741b8ee8a70b208830e330de053efd4fc45 (patch)
tree83367ed74d889e2c8179f1f8b5d6f6f73b857982 /drivers/watchdog
parentb0885d01f9ab1274109c02942c881d598f939623 (diff)
parent92e9e6d1f9844b73a26215025a922e7d7aeae361 (diff)
Merge tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core updates from Greg Kroah-Hartman: "Here's the large driver core updates for 3.8-rc1. The biggest thing here is the various __dev* marking removals. This is going to be a pain for the merge with different subsystem trees, I know, but all of the patches included here have been ACKed by their various subsystem maintainers, as they wanted them to go through here. If this is too much of a pain, I can pull all of them out of this tree and just send you one with the other fixes/updates and then, after 3.8-rc1 is out, do the rest of the removals to ensure we catch them all, it's up to you. The merges should all be trivial, and Stephen has been doing them all in linux-next for a few weeks now quite easily. Other than the __dev* marking removals, there's nothing major here, some firmware loading updates and other minor things in the driver core. All of these have (much to Stephen's annoyance), been in linux-next for a while. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>" Fixed up trivial conflicts in drivers/gpio/gpio-{em,stmpe}.c due to gpio update. * tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (93 commits) modpost.c: Stop checking __dev* section mismatches init.h: Remove __dev* sections from the kernel acpi: remove use of __devinit PCI: Remove __dev* markings PCI: Always build setup-bus when PCI is enabled PCI: Move pci_uevent into pci-driver.c PCI: Remove CONFIG_HOTPLUG ifdefs unicore32/PCI: Remove CONFIG_HOTPLUG ifdefs sh/PCI: Remove CONFIG_HOTPLUG ifdefs powerpc/PCI: Remove CONFIG_HOTPLUG ifdefs mips/PCI: Remove CONFIG_HOTPLUG ifdefs microblaze/PCI: Remove CONFIG_HOTPLUG ifdefs dma: remove use of __devinit dma: remove use of __devexit_p firewire: remove use of __devinitdata firewire: remove use of __devinit leds: remove use of __devexit leds: remove use of __devinit leds: remove use of __devexit_p mmc: remove use of __devexit ...
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/acquirewdt.c6
-rw-r--r--drivers/watchdog/advantechwdt.c6
-rw-r--r--drivers/watchdog/ar7_wdt.c6
-rw-r--r--drivers/watchdog/at91rm9200_wdt.c6
-rw-r--r--drivers/watchdog/ath79_wdt.c6
-rw-r--r--drivers/watchdog/bcm63xx_wdt.c6
-rw-r--r--drivers/watchdog/bfin_wdt.c6
-rw-r--r--drivers/watchdog/cpu5wdt.c8
-rw-r--r--drivers/watchdog/cpwd.c6
-rw-r--r--drivers/watchdog/da9052_wdt.c6
-rw-r--r--drivers/watchdog/davinci_wdt.c6
-rw-r--r--drivers/watchdog/dw_wdt.c6
-rw-r--r--drivers/watchdog/ep93xx_wdt.c6
-rw-r--r--drivers/watchdog/gef_wdt.c4
-rw-r--r--drivers/watchdog/geodewdt.c6
-rw-r--r--drivers/watchdog/hpwdt.c30
-rw-r--r--drivers/watchdog/i6300esb.c10
-rw-r--r--drivers/watchdog/iTCO_wdt.c8
-rw-r--r--drivers/watchdog/ib700wdt.c6
-rw-r--r--drivers/watchdog/ie6xx_wdt.c10
-rw-r--r--drivers/watchdog/jz4740_wdt.c6
-rw-r--r--drivers/watchdog/ks8695_wdt.c6
-rw-r--r--drivers/watchdog/lantiq_wdt.c6
-rw-r--r--drivers/watchdog/max63xx_wdt.c6
-rw-r--r--drivers/watchdog/mixcomwd.c2
-rw-r--r--drivers/watchdog/mpc8xxx_wdt.c6
-rw-r--r--drivers/watchdog/mpcore_wdt.c6
-rw-r--r--drivers/watchdog/mtx-1_wdt.c6
-rw-r--r--drivers/watchdog/mv64x60_wdt.c6
-rw-r--r--drivers/watchdog/nuc900_wdt.c6
-rw-r--r--drivers/watchdog/nv_tco.c10
-rw-r--r--drivers/watchdog/of_xilinx_wdt.c8
-rw-r--r--drivers/watchdog/omap_wdt.c6
-rw-r--r--drivers/watchdog/orion_wdt.c8
-rw-r--r--drivers/watchdog/pcwd.c8
-rw-r--r--drivers/watchdog/pcwd_pci.c6
-rw-r--r--drivers/watchdog/pnx4008_wdt.c6
-rw-r--r--drivers/watchdog/rc32434_wdt.c6
-rw-r--r--drivers/watchdog/rdc321x_wdt.c6
-rw-r--r--drivers/watchdog/riowd.c6
-rw-r--r--drivers/watchdog/s3c2410_wdt.c6
-rw-r--r--drivers/watchdog/sch311x_wdt.c6
-rw-r--r--drivers/watchdog/shwdt.c6
-rw-r--r--drivers/watchdog/sp5100_tco.c10
-rw-r--r--drivers/watchdog/sp805_wdt.c6
-rw-r--r--drivers/watchdog/stmp3xxx_wdt.c6
-rw-r--r--drivers/watchdog/ts72xx_wdt.c6
-rw-r--r--drivers/watchdog/twl4030_wdt.c6
-rw-r--r--drivers/watchdog/via_wdt.c6
-rw-r--r--drivers/watchdog/wdt_pci.c6
-rw-r--r--drivers/watchdog/wm831x_wdt.c6
-rw-r--r--drivers/watchdog/wm8350_wdt.c6
-rw-r--r--drivers/watchdog/xen_wdt.c6
53 files changed, 181 insertions, 181 deletions
diff --git a/drivers/watchdog/acquirewdt.c b/drivers/watchdog/acquirewdt.c
index 4397881c83f4..24a517777fa0 100644
--- a/drivers/watchdog/acquirewdt.c
+++ b/drivers/watchdog/acquirewdt.c
@@ -240,7 +240,7 @@ static struct miscdevice acq_miscdev = {
240 * Init & exit routines 240 * Init & exit routines
241 */ 241 */
242 242
243static int __devinit acq_probe(struct platform_device *dev) 243static int acq_probe(struct platform_device *dev)
244{ 244{
245 int ret; 245 int ret;
246 246
@@ -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);
@@ -293,7 +293,7 @@ static void acq_shutdown(struct platform_device *dev)
293 293
294static struct platform_driver acquirewdt_driver = { 294static struct platform_driver acquirewdt_driver = {
295 .probe = acq_probe, 295 .probe = acq_probe,
296 .remove = __devexit_p(acq_remove), 296 .remove = acq_remove,
297 .shutdown = acq_shutdown, 297 .shutdown = acq_shutdown,
298 .driver = { 298 .driver = {
299 .owner = THIS_MODULE, 299 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/advantechwdt.c b/drivers/watchdog/advantechwdt.c
index 64ae9e9fed94..cc6702fc5268 100644
--- a/drivers/watchdog/advantechwdt.c
+++ b/drivers/watchdog/advantechwdt.c
@@ -238,7 +238,7 @@ static struct miscdevice advwdt_miscdev = {
238 * Init & exit routines 238 * Init & exit routines
239 */ 239 */
240 240
241static int __devinit advwdt_probe(struct platform_device *dev) 241static int advwdt_probe(struct platform_device *dev)
242{ 242{
243 int ret; 243 int ret;
244 244
@@ -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);
@@ -300,7 +300,7 @@ static void advwdt_shutdown(struct platform_device *dev)
300 300
301static struct platform_driver advwdt_driver = { 301static struct platform_driver advwdt_driver = {
302 .probe = advwdt_probe, 302 .probe = advwdt_probe,
303 .remove = __devexit_p(advwdt_remove), 303 .remove = advwdt_remove,
304 .shutdown = advwdt_shutdown, 304 .shutdown = advwdt_shutdown,
305 .driver = { 305 .driver = {
306 .owner = THIS_MODULE, 306 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/ar7_wdt.c b/drivers/watchdog/ar7_wdt.c
index dc30dbd21cf1..3003e2a9580b 100644
--- a/drivers/watchdog/ar7_wdt.c
+++ b/drivers/watchdog/ar7_wdt.c
@@ -274,7 +274,7 @@ static struct miscdevice ar7_wdt_miscdev = {
274 .fops = &ar7_wdt_fops, 274 .fops = &ar7_wdt_fops,
275}; 275};
276 276
277static int __devinit ar7_wdt_probe(struct platform_device *pdev) 277static int ar7_wdt_probe(struct platform_device *pdev)
278{ 278{
279 int rc; 279 int rc;
280 280
@@ -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);
@@ -330,7 +330,7 @@ static void ar7_wdt_shutdown(struct platform_device *pdev)
330 330
331static struct platform_driver ar7_wdt_driver = { 331static struct platform_driver ar7_wdt_driver = {
332 .probe = ar7_wdt_probe, 332 .probe = ar7_wdt_probe,
333 .remove = __devexit_p(ar7_wdt_remove), 333 .remove = ar7_wdt_remove,
334 .shutdown = ar7_wdt_shutdown, 334 .shutdown = ar7_wdt_shutdown,
335 .driver = { 335 .driver = {
336 .owner = THIS_MODULE, 336 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/at91rm9200_wdt.c b/drivers/watchdog/at91rm9200_wdt.c
index 7ef99a169e3b..89831ed24a4f 100644
--- a/drivers/watchdog/at91rm9200_wdt.c
+++ b/drivers/watchdog/at91rm9200_wdt.c
@@ -199,7 +199,7 @@ static struct miscdevice at91wdt_miscdev = {
199 .fops = &at91wdt_fops, 199 .fops = &at91wdt_fops,
200}; 200};
201 201
202static int __devinit at91wdt_probe(struct platform_device *pdev) 202static int at91wdt_probe(struct platform_device *pdev)
203{ 203{
204 int res; 204 int res;
205 205
@@ -216,7 +216,7 @@ static int __devinit 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
@@ -254,7 +254,7 @@ static int at91wdt_resume(struct platform_device *pdev)
254 254
255static struct platform_driver at91wdt_driver = { 255static struct platform_driver at91wdt_driver = {
256 .probe = at91wdt_probe, 256 .probe = at91wdt_probe,
257 .remove = __devexit_p(at91wdt_remove), 257 .remove = at91wdt_remove,
258 .shutdown = at91wdt_shutdown, 258 .shutdown = at91wdt_shutdown,
259 .suspend = at91wdt_suspend, 259 .suspend = at91wdt_suspend,
260 .resume = at91wdt_resume, 260 .resume = at91wdt_resume,
diff --git a/drivers/watchdog/ath79_wdt.c b/drivers/watchdog/ath79_wdt.c
index 1f9371f49c40..7c8ede7816b1 100644
--- a/drivers/watchdog/ath79_wdt.c
+++ b/drivers/watchdog/ath79_wdt.c
@@ -224,7 +224,7 @@ static struct miscdevice ath79_wdt_miscdev = {
224 .fops = &ath79_wdt_fops, 224 .fops = &ath79_wdt_fops,
225}; 225};
226 226
227static int __devinit ath79_wdt_probe(struct platform_device *pdev) 227static int ath79_wdt_probe(struct platform_device *pdev)
228{ 228{
229 u32 ctrl; 229 u32 ctrl;
230 int err; 230 int err;
@@ -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);
@@ -284,7 +284,7 @@ static void ath97_wdt_shutdown(struct platform_device *pdev)
284} 284}
285 285
286static struct platform_driver ath79_wdt_driver = { 286static struct platform_driver ath79_wdt_driver = {
287 .remove = __devexit_p(ath79_wdt_remove), 287 .remove = ath79_wdt_remove,
288 .shutdown = ath97_wdt_shutdown, 288 .shutdown = ath97_wdt_shutdown,
289 .driver = { 289 .driver = {
290 .name = DRIVER_NAME, 290 .name = DRIVER_NAME,
diff --git a/drivers/watchdog/bcm63xx_wdt.c b/drivers/watchdog/bcm63xx_wdt.c
index 551880bfd629..b2b80d4ac818 100644
--- a/drivers/watchdog/bcm63xx_wdt.c
+++ b/drivers/watchdog/bcm63xx_wdt.c
@@ -236,7 +236,7 @@ static struct miscdevice bcm63xx_wdt_miscdev = {
236}; 236};
237 237
238 238
239static int __devinit bcm63xx_wdt_probe(struct platform_device *pdev) 239static int bcm63xx_wdt_probe(struct platform_device *pdev)
240{ 240{
241 int ret; 241 int ret;
242 struct resource *r; 242 struct resource *r;
@@ -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();
@@ -304,7 +304,7 @@ static void bcm63xx_wdt_shutdown(struct platform_device *pdev)
304 304
305static struct platform_driver bcm63xx_wdt_driver = { 305static struct platform_driver bcm63xx_wdt_driver = {
306 .probe = bcm63xx_wdt_probe, 306 .probe = bcm63xx_wdt_probe,
307 .remove = __devexit_p(bcm63xx_wdt_remove), 307 .remove = bcm63xx_wdt_remove,
308 .shutdown = bcm63xx_wdt_shutdown, 308 .shutdown = bcm63xx_wdt_shutdown,
309 .driver = { 309 .driver = {
310 .owner = THIS_MODULE, 310 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/bfin_wdt.c b/drivers/watchdog/bfin_wdt.c
index 38bc383e0677..5d36d6fb4969 100644
--- a/drivers/watchdog/bfin_wdt.c
+++ b/drivers/watchdog/bfin_wdt.c
@@ -356,7 +356,7 @@ static const struct watchdog_info bfin_wdt_info = {
356 * Registers the misc device. Actual device 356 * Registers the misc device. Actual device
357 * initialization is handled by bfin_wdt_open(). 357 * initialization is handled by bfin_wdt_open().
358 */ 358 */
359static int __devinit bfin_wdt_probe(struct platform_device *pdev) 359static int bfin_wdt_probe(struct platform_device *pdev)
360{ 360{
361 int ret; 361 int ret;
362 362
@@ -379,7 +379,7 @@ static int __devinit 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;
@@ -401,7 +401,7 @@ static struct platform_device *bfin_wdt_device;
401 401
402static struct platform_driver bfin_wdt_driver = { 402static struct platform_driver bfin_wdt_driver = {
403 .probe = bfin_wdt_probe, 403 .probe = bfin_wdt_probe,
404 .remove = __devexit_p(bfin_wdt_remove), 404 .remove = bfin_wdt_remove,
405 .shutdown = bfin_wdt_shutdown, 405 .shutdown = bfin_wdt_shutdown,
406 .suspend = bfin_wdt_suspend, 406 .suspend = bfin_wdt_suspend,
407 .resume = bfin_wdt_resume, 407 .resume = bfin_wdt_resume,
diff --git a/drivers/watchdog/cpu5wdt.c b/drivers/watchdog/cpu5wdt.c
index 7e888393de1f..cd87758abac3 100644
--- a/drivers/watchdog/cpu5wdt.c
+++ b/drivers/watchdog/cpu5wdt.c
@@ -215,7 +215,7 @@ static struct miscdevice cpu5wdt_misc = {
215 215
216/* init/exit function */ 216/* init/exit function */
217 217
218static int __devinit cpu5wdt_init(void) 218static int cpu5wdt_init(void)
219{ 219{
220 unsigned int val; 220 unsigned int val;
221 int err; 221 int err;
@@ -256,12 +256,12 @@ no_port:
256 return err; 256 return err;
257} 257}
258 258
259static int __devinit cpu5wdt_init_module(void) 259static int cpu5wdt_init_module(void)
260{ 260{
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 95b1b954de1b..11d55ce5ca81 100644
--- a/drivers/watchdog/cpwd.c
+++ b/drivers/watchdog/cpwd.c
@@ -528,7 +528,7 @@ static const struct file_operations cpwd_fops = {
528 .llseek = no_llseek, 528 .llseek = no_llseek,
529}; 529};
530 530
531static int __devinit cpwd_probe(struct platform_device *op) 531static int cpwd_probe(struct platform_device *op)
532{ 532{
533 struct device_node *options; 533 struct device_node *options;
534 const char *str_prop; 534 const char *str_prop;
@@ -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;
@@ -684,7 +684,7 @@ static struct platform_driver cpwd_driver = {
684 .of_match_table = cpwd_match, 684 .of_match_table = cpwd_match,
685 }, 685 },
686 .probe = cpwd_probe, 686 .probe = cpwd_probe,
687 .remove = __devexit_p(cpwd_remove), 687 .remove = cpwd_remove,
688}; 688};
689 689
690module_platform_driver(cpwd_driver); 690module_platform_driver(cpwd_driver);
diff --git a/drivers/watchdog/da9052_wdt.c b/drivers/watchdog/da9052_wdt.c
index f7abbaeebcaf..8be70d8f2680 100644
--- a/drivers/watchdog/da9052_wdt.c
+++ b/drivers/watchdog/da9052_wdt.c
@@ -179,7 +179,7 @@ static const struct watchdog_ops da9052_wdt_ops = {
179}; 179};
180 180
181 181
182static int __devinit da9052_wdt_probe(struct platform_device *pdev) 182static int da9052_wdt_probe(struct platform_device *pdev)
183{ 183{
184 struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent); 184 struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent);
185 struct da9052_wdt_data *driver_data; 185 struct da9052_wdt_data *driver_data;
@@ -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
@@ -236,7 +236,7 @@ static int __devexit da9052_wdt_remove(struct platform_device *pdev)
236 236
237static struct platform_driver da9052_wdt_driver = { 237static struct platform_driver da9052_wdt_driver = {
238 .probe = da9052_wdt_probe, 238 .probe = da9052_wdt_probe,
239 .remove = __devexit_p(da9052_wdt_remove), 239 .remove = da9052_wdt_remove,
240 .driver = { 240 .driver = {
241 .name = "da9052-watchdog", 241 .name = "da9052-watchdog",
242 }, 242 },
diff --git a/drivers/watchdog/davinci_wdt.c b/drivers/watchdog/davinci_wdt.c
index c8c5c8032bcb..8791879e5181 100644
--- a/drivers/watchdog/davinci_wdt.c
+++ b/drivers/watchdog/davinci_wdt.c
@@ -199,7 +199,7 @@ static struct miscdevice davinci_wdt_miscdev = {
199 .fops = &davinci_wdt_fops, 199 .fops = &davinci_wdt_fops,
200}; 200};
201 201
202static int __devinit davinci_wdt_probe(struct platform_device *pdev) 202static int davinci_wdt_probe(struct platform_device *pdev)
203{ 203{
204 int ret = 0, size; 204 int ret = 0, size;
205 struct device *dev = &pdev->dev; 205 struct device *dev = &pdev->dev;
@@ -248,7 +248,7 @@ static int __devinit 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) {
@@ -268,7 +268,7 @@ static struct platform_driver platform_wdt_driver = {
268 .owner = THIS_MODULE, 268 .owner = THIS_MODULE,
269 }, 269 },
270 .probe = davinci_wdt_probe, 270 .probe = davinci_wdt_probe,
271 .remove = __devexit_p(davinci_wdt_remove), 271 .remove = davinci_wdt_remove,
272}; 272};
273 273
274module_platform_driver(platform_wdt_driver); 274module_platform_driver(platform_wdt_driver);
diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c
index 06de1211a444..a0eba3c40e25 100644
--- a/drivers/watchdog/dw_wdt.c
+++ b/drivers/watchdog/dw_wdt.c
@@ -293,7 +293,7 @@ static struct miscdevice dw_wdt_miscdev = {
293 .minor = WATCHDOG_MINOR, 293 .minor = WATCHDOG_MINOR,
294}; 294};
295 295
296static int __devinit dw_wdt_drv_probe(struct platform_device *pdev) 296static int dw_wdt_drv_probe(struct platform_device *pdev)
297{ 297{
298 int ret; 298 int ret;
299 struct resource *mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); 299 struct resource *mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
@@ -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
@@ -345,7 +345,7 @@ static int __devexit dw_wdt_drv_remove(struct platform_device *pdev)
345 345
346static struct platform_driver dw_wdt_driver = { 346static struct platform_driver dw_wdt_driver = {
347 .probe = dw_wdt_drv_probe, 347 .probe = dw_wdt_drv_probe,
348 .remove = __devexit_p(dw_wdt_drv_remove), 348 .remove = dw_wdt_drv_remove,
349 .driver = { 349 .driver = {
350 .name = "dw_wdt", 350 .name = "dw_wdt",
351 .owner = THIS_MODULE, 351 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/ep93xx_wdt.c b/drivers/watchdog/ep93xx_wdt.c
index 77050037597a..e0574844c313 100644
--- a/drivers/watchdog/ep93xx_wdt.c
+++ b/drivers/watchdog/ep93xx_wdt.c
@@ -112,7 +112,7 @@ static struct watchdog_device ep93xx_wdt_wdd = {
112 .ops = &ep93xx_wdt_ops, 112 .ops = &ep93xx_wdt_ops,
113}; 113};
114 114
115static int __devinit ep93xx_wdt_probe(struct platform_device *pdev) 115static int ep93xx_wdt_probe(struct platform_device *pdev)
116{ 116{
117 struct resource *res; 117 struct resource *res;
118 unsigned long val; 118 unsigned long val;
@@ -156,7 +156,7 @@ static int __devinit 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;
@@ -168,7 +168,7 @@ static struct platform_driver ep93xx_wdt_driver = {
168 .name = "ep93xx-wdt", 168 .name = "ep93xx-wdt",
169 }, 169 },
170 .probe = ep93xx_wdt_probe, 170 .probe = ep93xx_wdt_probe,
171 .remove = __devexit_p(ep93xx_wdt_remove), 171 .remove = ep93xx_wdt_remove,
172}; 172};
173 173
174module_platform_driver(ep93xx_wdt_driver); 174module_platform_driver(ep93xx_wdt_driver);
diff --git a/drivers/watchdog/gef_wdt.c b/drivers/watchdog/gef_wdt.c
index 17f4cae770c6..b9c5b58e59d3 100644
--- a/drivers/watchdog/gef_wdt.c
+++ b/drivers/watchdog/gef_wdt.c
@@ -262,7 +262,7 @@ static struct miscdevice gef_wdt_miscdev = {
262}; 262};
263 263
264 264
265static int __devinit gef_wdt_probe(struct platform_device *dev) 265static int gef_wdt_probe(struct platform_device *dev)
266{ 266{
267 int timeout = 10; 267 int timeout = 10;
268 u32 freq; 268 u32 freq;
@@ -285,7 +285,7 @@ static int __devinit 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 dc563b680abd..fcd599d4e225 100644
--- a/drivers/watchdog/geodewdt.c
+++ b/drivers/watchdog/geodewdt.c
@@ -215,7 +215,7 @@ static struct miscdevice geodewdt_miscdev = {
215 .fops = &geodewdt_fops, 215 .fops = &geodewdt_fops,
216}; 216};
217 217
218static int __devinit geodewdt_probe(struct platform_device *dev) 218static int geodewdt_probe(struct platform_device *dev)
219{ 219{
220 int ret; 220 int ret;
221 221
@@ -243,7 +243,7 @@ static int __devinit 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;
@@ -256,7 +256,7 @@ static void geodewdt_shutdown(struct platform_device *dev)
256 256
257static struct platform_driver geodewdt_driver = { 257static struct platform_driver geodewdt_driver = {
258 .probe = geodewdt_probe, 258 .probe = geodewdt_probe,
259 .remove = __devexit_p(geodewdt_remove), 259 .remove = geodewdt_remove,
260 .shutdown = geodewdt_shutdown, 260 .shutdown = geodewdt_shutdown,
261 .driver = { 261 .driver = {
262 .owner = THIS_MODULE, 262 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c
index ae60406ea8a1..8717255ec7be 100644
--- a/drivers/watchdog/hpwdt.c
+++ b/drivers/watchdog/hpwdt.c
@@ -212,7 +212,7 @@ asm(".text \n\t"
212 * 0 : SUCCESS 212 * 0 : SUCCESS
213 * <0 : FAILURE 213 * <0 : FAILURE
214 */ 214 */
215static int __devinit cru_detect(unsigned long map_entry, 215static int cru_detect(unsigned long map_entry,
216 unsigned long map_offset) 216 unsigned long map_offset)
217{ 217{
218 void *bios32_map; 218 void *bios32_map;
@@ -268,7 +268,7 @@ static int __devinit cru_detect(unsigned long map_entry,
268/* 268/*
269 * bios_checksum 269 * bios_checksum
270 */ 270 */
271static int __devinit bios_checksum(const char __iomem *ptr, int len) 271static int bios_checksum(const char __iomem *ptr, int len)
272{ 272{
273 char sum = 0; 273 char sum = 0;
274 int i; 274 int i;
@@ -293,7 +293,7 @@ static int __devinit bios_checksum(const char __iomem *ptr, int len)
293 * 0 : SUCCESS 293 * 0 : SUCCESS
294 * <0 : FAILURE 294 * <0 : FAILURE
295 */ 295 */
296static int __devinit bios32_present(const char __iomem *p) 296static int bios32_present(const char __iomem *p)
297{ 297{
298 struct bios32_service_dir *bios_32_ptr; 298 struct bios32_service_dir *bios_32_ptr;
299 int length; 299 int length;
@@ -323,7 +323,7 @@ static int __devinit bios32_present(const char __iomem *p)
323 return -ENODEV; 323 return -ENODEV;
324} 324}
325 325
326static int __devinit detect_cru_service(void) 326static int detect_cru_service(void)
327{ 327{
328 char __iomem *p, *q; 328 char __iomem *p, *q;
329 int rc = -1; 329 int rc = -1;
@@ -395,7 +395,7 @@ asm(".text \n\t"
395 * This function checks whether or not a SMBIOS/DMI record is 395 * This function checks whether or not a SMBIOS/DMI record is
396 * the 64bit CRU info or not 396 * the 64bit CRU info or not
397 */ 397 */
398static void __devinit dmi_find_cru(const struct dmi_header *dm, void *dummy) 398static void dmi_find_cru(const struct dmi_header *dm, void *dummy)
399{ 399{
400 struct smbios_cru64_info *smbios_cru64_ptr; 400 struct smbios_cru64_info *smbios_cru64_ptr;
401 unsigned long cru_physical_address; 401 unsigned long cru_physical_address;
@@ -414,7 +414,7 @@ static void __devinit dmi_find_cru(const struct dmi_header *dm, void *dummy)
414 } 414 }
415} 415}
416 416
417static int __devinit detect_cru_service(void) 417static int detect_cru_service(void)
418{ 418{
419 cru_rom_addr = NULL; 419 cru_rom_addr = NULL;
420 420
@@ -647,7 +647,7 @@ static struct miscdevice hpwdt_miscdev = {
647 647
648#ifdef CONFIG_HPWDT_NMI_DECODING 648#ifdef CONFIG_HPWDT_NMI_DECODING
649#ifdef CONFIG_X86_LOCAL_APIC 649#ifdef CONFIG_X86_LOCAL_APIC
650static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev) 650static void hpwdt_check_nmi_decoding(struct pci_dev *dev)
651{ 651{
652 /* 652 /*
653 * If nmi_watchdog is turned off then we can turn on 653 * If nmi_watchdog is turned off then we can turn on
@@ -656,7 +656,7 @@ static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev)
656 hpwdt_nmi_decoding = 1; 656 hpwdt_nmi_decoding = 1;
657} 657}
658#else 658#else
659static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev) 659static void hpwdt_check_nmi_decoding(struct pci_dev *dev)
660{ 660{
661 dev_warn(&dev->dev, "NMI decoding is disabled. " 661 dev_warn(&dev->dev, "NMI decoding is disabled. "
662 "Your kernel does not support a NMI Watchdog.\n"); 662 "Your kernel does not support a NMI Watchdog.\n");
@@ -671,7 +671,7 @@ static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev)
671 * This check is independent of architecture and needs to be made for 671 * This check is independent of architecture and needs to be made for
672 * any ProLiant system. 672 * any ProLiant system.
673 */ 673 */
674static void __devinit dmi_find_icru(const struct dmi_header *dm, void *dummy) 674static void dmi_find_icru(const struct dmi_header *dm, void *dummy)
675{ 675{
676 struct smbios_proliant_info *smbios_proliant_ptr; 676 struct smbios_proliant_info *smbios_proliant_ptr;
677 677
@@ -682,7 +682,7 @@ static void __devinit dmi_find_icru(const struct dmi_header *dm, void *dummy)
682 } 682 }
683} 683}
684 684
685static int __devinit hpwdt_init_nmi_decoding(struct pci_dev *dev) 685static int hpwdt_init_nmi_decoding(struct pci_dev *dev)
686{ 686{
687 int retval; 687 int retval;
688 688
@@ -762,11 +762,11 @@ static void hpwdt_exit_nmi_decoding(void)
762 iounmap(cru_rom_addr); 762 iounmap(cru_rom_addr);
763} 763}
764#else /* !CONFIG_HPWDT_NMI_DECODING */ 764#else /* !CONFIG_HPWDT_NMI_DECODING */
765static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev) 765static void hpwdt_check_nmi_decoding(struct pci_dev *dev)
766{ 766{
767} 767}
768 768
769static int __devinit hpwdt_init_nmi_decoding(struct pci_dev *dev) 769static int hpwdt_init_nmi_decoding(struct pci_dev *dev)
770{ 770{
771 return 0; 771 return 0;
772} 772}
@@ -776,7 +776,7 @@ static void hpwdt_exit_nmi_decoding(void)
776} 776}
777#endif /* CONFIG_HPWDT_NMI_DECODING */ 777#endif /* CONFIG_HPWDT_NMI_DECODING */
778 778
779static int __devinit hpwdt_init_one(struct pci_dev *dev, 779static int hpwdt_init_one(struct pci_dev *dev,
780 const struct pci_device_id *ent) 780 const struct pci_device_id *ent)
781{ 781{
782 int retval; 782 int retval;
@@ -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();
@@ -863,7 +863,7 @@ static struct pci_driver hpwdt_driver = {
863 .name = "hpwdt", 863 .name = "hpwdt",
864 .id_table = hpwdt_devices, 864 .id_table = hpwdt_devices,
865 .probe = hpwdt_init_one, 865 .probe = hpwdt_init_one,
866 .remove = __devexit_p(hpwdt_exit), 866 .remove = hpwdt_exit,
867}; 867};
868 868
869MODULE_AUTHOR("Tom Mingarelli"); 869MODULE_AUTHOR("Tom Mingarelli");
diff --git a/drivers/watchdog/i6300esb.c b/drivers/watchdog/i6300esb.c
index 276877d5b6a3..2b2ea13d03ea 100644
--- a/drivers/watchdog/i6300esb.c
+++ b/drivers/watchdog/i6300esb.c
@@ -344,7 +344,7 @@ MODULE_DEVICE_TABLE(pci, esb_pci_tbl);
344 * Init & exit routines 344 * Init & exit routines
345 */ 345 */
346 346
347static unsigned char __devinit esb_getdevice(struct pci_dev *pdev) 347static unsigned char esb_getdevice(struct pci_dev *pdev)
348{ 348{
349 if (pci_enable_device(pdev)) { 349 if (pci_enable_device(pdev)) {
350 pr_err("failed to enable device\n"); 350 pr_err("failed to enable device\n");
@@ -375,7 +375,7 @@ err_devput:
375 return 0; 375 return 0;
376} 376}
377 377
378static void __devinit esb_initdevice(void) 378static void esb_initdevice(void)
379{ 379{
380 u8 val1; 380 u8 val1;
381 u16 val2; 381 u16 val2;
@@ -416,7 +416,7 @@ static void __devinit esb_initdevice(void)
416 esb_timer_set_heartbeat(heartbeat); 416 esb_timer_set_heartbeat(heartbeat);
417} 417}
418 418
419static int __devinit esb_probe(struct pci_dev *pdev, 419static int esb_probe(struct pci_dev *pdev,
420 const struct pci_device_id *ent) 420 const struct pci_device_id *ent)
421{ 421{
422 int ret; 422 int ret;
@@ -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)
@@ -488,7 +488,7 @@ static struct pci_driver esb_driver = {
488 .name = ESB_MODULE_NAME, 488 .name = ESB_MODULE_NAME,
489 .id_table = esb_pci_tbl, 489 .id_table = esb_pci_tbl,
490 .probe = esb_probe, 490 .probe = esb_probe,
491 .remove = __devexit_p(esb_remove), 491 .remove = esb_remove,
492 .shutdown = esb_shutdown, 492 .shutdown = esb_shutdown,
493}; 493};
494 494
diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c
index 545d387de411..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)
@@ -390,7 +390,7 @@ static void __devexit iTCO_wdt_cleanup(void)
390 iTCO_wdt_private.gcs = NULL; 390 iTCO_wdt_private.gcs = NULL;
391} 391}
392 392
393static int __devinit iTCO_wdt_probe(struct platform_device *dev) 393static int iTCO_wdt_probe(struct platform_device *dev)
394{ 394{
395 int ret = -ENODEV; 395 int ret = -ENODEV;
396 unsigned long val32; 396 unsigned long val32;
@@ -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();
@@ -548,7 +548,7 @@ static void iTCO_wdt_shutdown(struct platform_device *dev)
548 548
549static struct platform_driver iTCO_wdt_driver = { 549static struct platform_driver iTCO_wdt_driver = {
550 .probe = iTCO_wdt_probe, 550 .probe = iTCO_wdt_probe,
551 .remove = __devexit_p(iTCO_wdt_remove), 551 .remove = iTCO_wdt_remove,
552 .shutdown = iTCO_wdt_shutdown, 552 .shutdown = iTCO_wdt_shutdown,
553 .driver = { 553 .driver = {
554 .owner = THIS_MODULE, 554 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/ib700wdt.c b/drivers/watchdog/ib700wdt.c
index 184c0bfc87a4..eb6b5cc98ec6 100644
--- a/drivers/watchdog/ib700wdt.c
+++ b/drivers/watchdog/ib700wdt.c
@@ -277,7 +277,7 @@ static struct miscdevice ibwdt_miscdev = {
277 * Init & exit routines 277 * Init & exit routines
278 */ 278 */
279 279
280static int __devinit ibwdt_probe(struct platform_device *dev) 280static int ibwdt_probe(struct platform_device *dev)
281{ 281{
282 int res; 282 int res;
283 283
@@ -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);
@@ -337,7 +337,7 @@ static void ibwdt_shutdown(struct platform_device *dev)
337 337
338static struct platform_driver ibwdt_driver = { 338static struct platform_driver ibwdt_driver = {
339 .probe = ibwdt_probe, 339 .probe = ibwdt_probe,
340 .remove = __devexit_p(ibwdt_remove), 340 .remove = ibwdt_remove,
341 .shutdown = ibwdt_shutdown, 341 .shutdown = ibwdt_shutdown,
342 .driver = { 342 .driver = {
343 .owner = THIS_MODULE, 343 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/ie6xx_wdt.c b/drivers/watchdog/ie6xx_wdt.c
index 8f541b940053..e24ef6a6e064 100644
--- a/drivers/watchdog/ie6xx_wdt.c
+++ b/drivers/watchdog/ie6xx_wdt.c
@@ -225,7 +225,7 @@ static const struct file_operations ie6xx_wdt_dbg_operations = {
225 .release = single_release, 225 .release = single_release,
226}; 226};
227 227
228static void __devinit ie6xx_wdt_debugfs_init(void) 228static void ie6xx_wdt_debugfs_init(void)
229{ 229{
230 /* /sys/kernel/debug/ie6xx_wdt */ 230 /* /sys/kernel/debug/ie6xx_wdt */
231 ie6xx_wdt_data.debugfs = debugfs_create_file("ie6xx_wdt", 231 ie6xx_wdt_data.debugfs = debugfs_create_file("ie6xx_wdt",
@@ -238,7 +238,7 @@ static void ie6xx_wdt_debugfs_exit(void)
238} 238}
239 239
240#else 240#else
241static void __devinit ie6xx_wdt_debugfs_init(void) 241static void ie6xx_wdt_debugfs_init(void)
242{ 242{
243} 243}
244 244
@@ -247,7 +247,7 @@ static void ie6xx_wdt_debugfs_exit(void)
247} 247}
248#endif 248#endif
249 249
250static int __devinit ie6xx_wdt_probe(struct platform_device *pdev) 250static int ie6xx_wdt_probe(struct platform_device *pdev)
251{ 251{
252 struct resource *res; 252 struct resource *res;
253 u8 wdtlr; 253 u8 wdtlr;
@@ -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
@@ -311,7 +311,7 @@ static int __devexit ie6xx_wdt_remove(struct platform_device *pdev)
311 311
312static struct platform_driver ie6xx_wdt_driver = { 312static struct platform_driver ie6xx_wdt_driver = {
313 .probe = ie6xx_wdt_probe, 313 .probe = ie6xx_wdt_probe,
314 .remove = __devexit_p(ie6xx_wdt_remove), 314 .remove = ie6xx_wdt_remove,
315 .driver = { 315 .driver = {
316 .name = DRIVER_NAME, 316 .name = DRIVER_NAME,
317 .owner = THIS_MODULE, 317 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c
index 978615ef899d..a61408fa0c94 100644
--- a/drivers/watchdog/jz4740_wdt.c
+++ b/drivers/watchdog/jz4740_wdt.c
@@ -144,7 +144,7 @@ static const struct watchdog_ops jz4740_wdt_ops = {
144 .set_timeout = jz4740_wdt_set_timeout, 144 .set_timeout = jz4740_wdt_set_timeout,
145}; 145};
146 146
147static int __devinit jz4740_wdt_probe(struct platform_device *pdev) 147static int jz4740_wdt_probe(struct platform_device *pdev)
148{ 148{
149 struct jz4740_wdt_drvdata *drvdata; 149 struct jz4740_wdt_drvdata *drvdata;
150 struct watchdog_device *jz4740_wdt; 150 struct watchdog_device *jz4740_wdt;
@@ -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
@@ -210,7 +210,7 @@ static int __devexit jz4740_wdt_remove(struct platform_device *pdev)
210 210
211static struct platform_driver jz4740_wdt_driver = { 211static struct platform_driver jz4740_wdt_driver = {
212 .probe = jz4740_wdt_probe, 212 .probe = jz4740_wdt_probe,
213 .remove = __devexit_p(jz4740_wdt_remove), 213 .remove = jz4740_wdt_remove,
214 .driver = { 214 .driver = {
215 .name = "jz4740-wdt", 215 .name = "jz4740-wdt",
216 .owner = THIS_MODULE, 216 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/ks8695_wdt.c b/drivers/watchdog/ks8695_wdt.c
index c1a4d3bf581d..dce9ecffd44a 100644
--- a/drivers/watchdog/ks8695_wdt.c
+++ b/drivers/watchdog/ks8695_wdt.c
@@ -235,7 +235,7 @@ static struct miscdevice ks8695wdt_miscdev = {
235 .fops = &ks8695wdt_fops, 235 .fops = &ks8695wdt_fops,
236}; 236};
237 237
238static int __devinit ks8695wdt_probe(struct platform_device *pdev) 238static int ks8695wdt_probe(struct platform_device *pdev)
239{ 239{
240 int res; 240 int res;
241 241
@@ -252,7 +252,7 @@ static int __devinit 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
@@ -290,7 +290,7 @@ static int ks8695wdt_resume(struct platform_device *pdev)
290 290
291static struct platform_driver ks8695wdt_driver = { 291static struct platform_driver ks8695wdt_driver = {
292 .probe = ks8695wdt_probe, 292 .probe = ks8695wdt_probe,
293 .remove = __devexit_p(ks8695wdt_remove), 293 .remove = ks8695wdt_remove,
294 .shutdown = ks8695wdt_shutdown, 294 .shutdown = ks8695wdt_shutdown,
295 .suspend = ks8695wdt_suspend, 295 .suspend = ks8695wdt_suspend,
296 .resume = ks8695wdt_resume, 296 .resume = ks8695wdt_resume,
diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c
index 2e74c3a8ee58..79fe01b42339 100644
--- a/drivers/watchdog/lantiq_wdt.c
+++ b/drivers/watchdog/lantiq_wdt.c
@@ -186,7 +186,7 @@ static struct miscdevice ltq_wdt_miscdev = {
186 .fops = &ltq_wdt_fops, 186 .fops = &ltq_wdt_fops,
187}; 187};
188 188
189static int __devinit 189static int
190ltq_wdt_probe(struct platform_device *pdev) 190ltq_wdt_probe(struct platform_device *pdev)
191{ 191{
192 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 192 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
@@ -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);
@@ -236,7 +236,7 @@ MODULE_DEVICE_TABLE(of, ltq_wdt_match);
236 236
237static struct platform_driver ltq_wdt_driver = { 237static struct platform_driver ltq_wdt_driver = {
238 .probe = ltq_wdt_probe, 238 .probe = ltq_wdt_probe,
239 .remove = __devexit_p(ltq_wdt_remove), 239 .remove = ltq_wdt_remove,
240 .driver = { 240 .driver = {
241 .name = "wdt", 241 .name = "wdt",
242 .owner = THIS_MODULE, 242 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/max63xx_wdt.c b/drivers/watchdog/max63xx_wdt.c
index 8f4a74e91619..773c661723ca 100644
--- a/drivers/watchdog/max63xx_wdt.c
+++ b/drivers/watchdog/max63xx_wdt.c
@@ -174,7 +174,7 @@ static struct watchdog_device max63xx_wdt_dev = {
174 .ops = &max63xx_wdt_ops, 174 .ops = &max63xx_wdt_ops,
175}; 175};
176 176
177static int __devinit max63xx_wdt_probe(struct platform_device *pdev) 177static int max63xx_wdt_probe(struct platform_device *pdev)
178{ 178{
179 struct resource *wdt_mem; 179 struct resource *wdt_mem;
180 struct max63xx_timeout *table; 180 struct max63xx_timeout *table;
@@ -209,7 +209,7 @@ static int __devinit 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;
@@ -228,7 +228,7 @@ MODULE_DEVICE_TABLE(platform, max63xx_id_table);
228 228
229static struct platform_driver max63xx_wdt_driver = { 229static struct platform_driver max63xx_wdt_driver = {
230 .probe = max63xx_wdt_probe, 230 .probe = max63xx_wdt_probe,
231 .remove = __devexit_p(max63xx_wdt_remove), 231 .remove = max63xx_wdt_remove,
232 .id_table = max63xx_id_table, 232 .id_table = max63xx_id_table,
233 .driver = { 233 .driver = {
234 .name = "max63xx_wdt", 234 .name = "max63xx_wdt",
diff --git a/drivers/watchdog/mixcomwd.c b/drivers/watchdog/mixcomwd.c
index 37e4b52dbce9..97d62ee50341 100644
--- a/drivers/watchdog/mixcomwd.c
+++ b/drivers/watchdog/mixcomwd.c
@@ -73,7 +73,7 @@
73static struct { 73static struct {
74 int ioport; 74 int ioport;
75 int id; 75 int id;
76} mixcomwd_io_info[] __devinitdata = { 76} mixcomwd_io_info[] = {
77 /* The Mixcom cards */ 77 /* The Mixcom cards */
78 {0x0d90, MIXCOM_ID}, 78 {0x0d90, MIXCOM_ID},
79 {0x0e90, MIXCOM_ID}, 79 {0x0e90, MIXCOM_ID},
diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c
index e6a038ae8dc2..da2752063bb7 100644
--- a/drivers/watchdog/mpc8xxx_wdt.c
+++ b/drivers/watchdog/mpc8xxx_wdt.c
@@ -188,7 +188,7 @@ static struct miscdevice mpc8xxx_wdt_miscdev = {
188}; 188};
189 189
190static const struct of_device_id mpc8xxx_wdt_match[]; 190static const struct of_device_id mpc8xxx_wdt_match[];
191static int __devinit mpc8xxx_wdt_probe(struct platform_device *ofdev) 191static int mpc8xxx_wdt_probe(struct platform_device *ofdev)
192{ 192{
193 int ret; 193 int ret;
194 const struct of_device_id *match; 194 const struct of_device_id *match;
@@ -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);
@@ -281,7 +281,7 @@ MODULE_DEVICE_TABLE(of, mpc8xxx_wdt_match);
281 281
282static struct platform_driver mpc8xxx_wdt_driver = { 282static struct platform_driver mpc8xxx_wdt_driver = {
283 .probe = mpc8xxx_wdt_probe, 283 .probe = mpc8xxx_wdt_probe,
284 .remove = __devexit_p(mpc8xxx_wdt_remove), 284 .remove = mpc8xxx_wdt_remove,
285 .driver = { 285 .driver = {
286 .name = "mpc8xxx_wdt", 286 .name = "mpc8xxx_wdt",
287 .owner = THIS_MODULE, 287 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/mpcore_wdt.c b/drivers/watchdog/mpcore_wdt.c
index 7c741dc987bd..a84eb551ea27 100644
--- a/drivers/watchdog/mpcore_wdt.c
+++ b/drivers/watchdog/mpcore_wdt.c
@@ -327,7 +327,7 @@ static struct miscdevice mpcore_wdt_miscdev = {
327 .fops = &mpcore_wdt_fops, 327 .fops = &mpcore_wdt_fops,
328}; 328};
329 329
330static int __devinit mpcore_wdt_probe(struct platform_device *pdev) 330static int mpcore_wdt_probe(struct platform_device *pdev)
331{ 331{
332 struct mpcore_wdt *wdt; 332 struct mpcore_wdt *wdt;
333 struct resource *res; 333 struct resource *res;
@@ -378,7 +378,7 @@ static int __devinit 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
@@ -415,7 +415,7 @@ MODULE_ALIAS("platform:mpcore_wdt");
415 415
416static struct platform_driver mpcore_wdt_driver = { 416static struct platform_driver mpcore_wdt_driver = {
417 .probe = mpcore_wdt_probe, 417 .probe = mpcore_wdt_probe,
418 .remove = __devexit_p(mpcore_wdt_remove), 418 .remove = mpcore_wdt_remove,
419 .suspend = mpcore_wdt_suspend, 419 .suspend = mpcore_wdt_suspend,
420 .resume = mpcore_wdt_resume, 420 .resume = mpcore_wdt_resume,
421 .shutdown = mpcore_wdt_shutdown, 421 .shutdown = mpcore_wdt_shutdown,
diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c
index c29e31d99fe8..14dab6ff87aa 100644
--- a/drivers/watchdog/mtx-1_wdt.c
+++ b/drivers/watchdog/mtx-1_wdt.c
@@ -204,7 +204,7 @@ static struct miscdevice mtx1_wdt_misc = {
204}; 204};
205 205
206 206
207static int __devinit mtx1_wdt_probe(struct platform_device *pdev) 207static int mtx1_wdt_probe(struct platform_device *pdev)
208{ 208{
209 int ret; 209 int ret;
210 210
@@ -233,7 +233,7 @@ static int __devinit 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) {
@@ -248,7 +248,7 @@ static int __devexit mtx1_wdt_remove(struct platform_device *pdev)
248 248
249static struct platform_driver mtx1_wdt_driver = { 249static struct platform_driver mtx1_wdt_driver = {
250 .probe = mtx1_wdt_probe, 250 .probe = mtx1_wdt_probe,
251 .remove = __devexit_p(mtx1_wdt_remove), 251 .remove = mtx1_wdt_remove,
252 .driver.name = "mtx1-wdt", 252 .driver.name = "mtx1-wdt",
253 .driver.owner = THIS_MODULE, 253 .driver.owner = THIS_MODULE,
254}; 254};
diff --git a/drivers/watchdog/mv64x60_wdt.c b/drivers/watchdog/mv64x60_wdt.c
index c53d025e70df..c7fb878ca493 100644
--- a/drivers/watchdog/mv64x60_wdt.c
+++ b/drivers/watchdog/mv64x60_wdt.c
@@ -253,7 +253,7 @@ static struct miscdevice mv64x60_wdt_miscdev = {
253 .fops = &mv64x60_wdt_fops, 253 .fops = &mv64x60_wdt_fops,
254}; 254};
255 255
256static int __devinit mv64x60_wdt_probe(struct platform_device *dev) 256static int mv64x60_wdt_probe(struct platform_device *dev)
257{ 257{
258 struct mv64x60_wdt_pdata *pdata = dev->dev.platform_data; 258 struct mv64x60_wdt_pdata *pdata = dev->dev.platform_data;
259 struct resource *r; 259 struct resource *r;
@@ -287,7 +287,7 @@ static int __devinit 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
@@ -300,7 +300,7 @@ static int __devexit mv64x60_wdt_remove(struct platform_device *dev)
300 300
301static struct platform_driver mv64x60_wdt_driver = { 301static struct platform_driver mv64x60_wdt_driver = {
302 .probe = mv64x60_wdt_probe, 302 .probe = mv64x60_wdt_probe,
303 .remove = __devexit_p(mv64x60_wdt_remove), 303 .remove = mv64x60_wdt_remove,
304 .driver = { 304 .driver = {
305 .owner = THIS_MODULE, 305 .owner = THIS_MODULE,
306 .name = MV64x60_WDT_NAME, 306 .name = MV64x60_WDT_NAME,
diff --git a/drivers/watchdog/nuc900_wdt.c b/drivers/watchdog/nuc900_wdt.c
index ea4c7448b754..04c45a102992 100644
--- a/drivers/watchdog/nuc900_wdt.c
+++ b/drivers/watchdog/nuc900_wdt.c
@@ -242,7 +242,7 @@ static struct miscdevice nuc900wdt_miscdev = {
242 .fops = &nuc900wdt_fops, 242 .fops = &nuc900wdt_fops,
243}; 243};
244 244
245static int __devinit nuc900wdt_probe(struct platform_device *pdev) 245static int nuc900wdt_probe(struct platform_device *pdev)
246{ 246{
247 int ret = 0; 247 int ret = 0;
248 248
@@ -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
@@ -328,7 +328,7 @@ static int __devexit nuc900wdt_remove(struct platform_device *pdev)
328 328
329static struct platform_driver nuc900wdt_driver = { 329static struct platform_driver nuc900wdt_driver = {
330 .probe = nuc900wdt_probe, 330 .probe = nuc900wdt_probe,
331 .remove = __devexit_p(nuc900wdt_remove), 331 .remove = nuc900wdt_remove,
332 .driver = { 332 .driver = {
333 .name = "nuc900-wdt", 333 .name = "nuc900-wdt",
334 .owner = THIS_MODULE, 334 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/nv_tco.c b/drivers/watchdog/nv_tco.c
index 6bbb9efc6125..59cf19eeea07 100644
--- a/drivers/watchdog/nv_tco.c
+++ b/drivers/watchdog/nv_tco.c
@@ -302,7 +302,7 @@ MODULE_DEVICE_TABLE(pci, tco_pci_tbl);
302 * Init & exit routines 302 * Init & exit routines
303 */ 303 */
304 304
305static unsigned char __devinit nv_tco_getdevice(void) 305static unsigned char nv_tco_getdevice(void)
306{ 306{
307 struct pci_dev *dev = NULL; 307 struct pci_dev *dev = NULL;
308 u32 val; 308 u32 val;
@@ -376,7 +376,7 @@ out:
376 return 0; 376 return 0;
377} 377}
378 378
379static int __devinit nv_tco_init(struct platform_device *dev) 379static int nv_tco_init(struct platform_device *dev)
380{ 380{
381 int ret; 381 int ret;
382 382
@@ -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();
@@ -468,7 +468,7 @@ static void nv_tco_shutdown(struct platform_device *dev)
468 468
469static struct platform_driver nv_tco_driver = { 469static struct platform_driver nv_tco_driver = {
470 .probe = nv_tco_init, 470 .probe = nv_tco_init,
471 .remove = __devexit_p(nv_tco_remove), 471 .remove = nv_tco_remove,
472 .shutdown = nv_tco_shutdown, 472 .shutdown = nv_tco_shutdown,
473 .driver = { 473 .driver = {
474 .owner = THIS_MODULE, 474 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/of_xilinx_wdt.c b/drivers/watchdog/of_xilinx_wdt.c
index 294fb4e00521..2761ddb08501 100644
--- a/drivers/watchdog/of_xilinx_wdt.c
+++ b/drivers/watchdog/of_xilinx_wdt.c
@@ -289,7 +289,7 @@ static struct miscdevice xwdt_miscdev = {
289 .fops = &xwdt_fops, 289 .fops = &xwdt_fops,
290}; 290};
291 291
292static int __devinit xwdt_probe(struct platform_device *pdev) 292static int xwdt_probe(struct platform_device *pdev)
293{ 293{
294 int rc; 294 int rc;
295 u32 *tmptr; 295 u32 *tmptr;
@@ -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);
@@ -393,7 +393,7 @@ static int __devexit xwdt_remove(struct platform_device *dev)
393} 393}
394 394
395/* Match table for of_platform binding */ 395/* Match table for of_platform binding */
396static struct of_device_id __devinitdata xwdt_of_match[] = { 396static struct of_device_id xwdt_of_match[] = {
397 { .compatible = "xlnx,xps-timebase-wdt-1.01.a", }, 397 { .compatible = "xlnx,xps-timebase-wdt-1.01.a", },
398 {}, 398 {},
399}; 399};
@@ -401,7 +401,7 @@ MODULE_DEVICE_TABLE(of, xwdt_of_match);
401 401
402static struct platform_driver xwdt_driver = { 402static struct platform_driver xwdt_driver = {
403 .probe = xwdt_probe, 403 .probe = xwdt_probe,
404 .remove = __devexit_p(xwdt_remove), 404 .remove = xwdt_remove,
405 .driver = { 405 .driver = {
406 .owner = THIS_MODULE, 406 .owner = THIS_MODULE,
407 .name = WATCHDOG_NAME, 407 .name = WATCHDOG_NAME,
diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c
index f5db18dbc0f9..d8da5162f0dd 100644
--- a/drivers/watchdog/omap_wdt.c
+++ b/drivers/watchdog/omap_wdt.c
@@ -264,7 +264,7 @@ static const struct file_operations omap_wdt_fops = {
264 .llseek = no_llseek, 264 .llseek = no_llseek,
265}; 265};
266 266
267static int __devinit omap_wdt_probe(struct platform_device *pdev) 267static int omap_wdt_probe(struct platform_device *pdev)
268{ 268{
269 struct resource *res, *mem; 269 struct resource *res, *mem;
270 struct omap_wdt_dev *wdev; 270 struct omap_wdt_dev *wdev;
@@ -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);
@@ -426,7 +426,7 @@ MODULE_DEVICE_TABLE(of, omap_wdt_of_match);
426 426
427static struct platform_driver omap_wdt_driver = { 427static struct platform_driver omap_wdt_driver = {
428 .probe = omap_wdt_probe, 428 .probe = omap_wdt_probe,
429 .remove = __devexit_p(omap_wdt_remove), 429 .remove = omap_wdt_remove,
430 .shutdown = omap_wdt_shutdown, 430 .shutdown = omap_wdt_shutdown,
431 .suspend = omap_wdt_suspend, 431 .suspend = omap_wdt_suspend,
432 .resume = omap_wdt_resume, 432 .resume = omap_wdt_resume,
diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_wdt.c
index c20f96b579d9..0478b001b1ef 100644
--- a/drivers/watchdog/orion_wdt.c
+++ b/drivers/watchdog/orion_wdt.c
@@ -142,7 +142,7 @@ static struct watchdog_device orion_wdt = {
142 .ops = &orion_wdt_ops, 142 .ops = &orion_wdt_ops,
143}; 143};
144 144
145static int __devinit orion_wdt_probe(struct platform_device *pdev) 145static int orion_wdt_probe(struct platform_device *pdev)
146{ 146{
147 struct resource *res; 147 struct resource *res;
148 int ret; 148 int ret;
@@ -181,7 +181,7 @@ static int __devinit 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);
@@ -193,7 +193,7 @@ static void orion_wdt_shutdown(struct platform_device *pdev)
193 orion_wdt_stop(&orion_wdt); 193 orion_wdt_stop(&orion_wdt);
194} 194}
195 195
196static const struct of_device_id orion_wdt_of_match_table[] __devinitdata = { 196static const struct of_device_id orion_wdt_of_match_table[] = {
197 { .compatible = "marvell,orion-wdt", }, 197 { .compatible = "marvell,orion-wdt", },
198 {}, 198 {},
199}; 199};
@@ -201,7 +201,7 @@ MODULE_DEVICE_TABLE(of, orion_wdt_of_match_table);
201 201
202static struct platform_driver orion_wdt_driver = { 202static struct platform_driver orion_wdt_driver = {
203 .probe = orion_wdt_probe, 203 .probe = orion_wdt_probe,
204 .remove = __devexit_p(orion_wdt_remove), 204 .remove = orion_wdt_remove,
205 .shutdown = orion_wdt_shutdown, 205 .shutdown = orion_wdt_shutdown,
206 .driver = { 206 .driver = {
207 .owner = THIS_MODULE, 207 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/pcwd.c b/drivers/watchdog/pcwd.c
index 75694cf24f86..33e49a7f889f 100644
--- a/drivers/watchdog/pcwd.c
+++ b/drivers/watchdog/pcwd.c
@@ -801,7 +801,7 @@ static inline int get_revision(void)
801 * The initial rate is once per second at board start up, then twice 801 * The initial rate is once per second at board start up, then twice
802 * per second for normal operation. 802 * per second for normal operation.
803 */ 803 */
804static int __devinit pcwd_isa_match(struct device *dev, unsigned int id) 804static int pcwd_isa_match(struct device *dev, unsigned int id)
805{ 805{
806 int base_addr = pcwd_ioports[id]; 806 int base_addr = pcwd_ioports[id];
807 int port0, last_port0; /* Reg 0, in case it's REV A */ 807 int port0, last_port0; /* Reg 0, in case it's REV A */
@@ -846,7 +846,7 @@ static int __devinit pcwd_isa_match(struct device *dev, unsigned int id)
846 return retval; 846 return retval;
847} 847}
848 848
849static int __devinit pcwd_isa_probe(struct device *dev, unsigned int id) 849static int pcwd_isa_probe(struct device *dev, unsigned int id)
850{ 850{
851 int ret; 851 int ret;
852 852
@@ -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);
@@ -984,7 +984,7 @@ static void pcwd_isa_shutdown(struct device *dev, unsigned int id)
984static struct isa_driver pcwd_isa_driver = { 984static struct isa_driver pcwd_isa_driver = {
985 .match = pcwd_isa_match, 985 .match = pcwd_isa_match,
986 .probe = pcwd_isa_probe, 986 .probe = pcwd_isa_probe,
987 .remove = __devexit_p(pcwd_isa_remove), 987 .remove = pcwd_isa_remove,
988 .shutdown = pcwd_isa_shutdown, 988 .shutdown = pcwd_isa_shutdown,
989 .driver = { 989 .driver = {
990 .owner = THIS_MODULE, 990 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/pcwd_pci.c b/drivers/watchdog/pcwd_pci.c
index ee6900da8678..7890f84edf76 100644
--- a/drivers/watchdog/pcwd_pci.c
+++ b/drivers/watchdog/pcwd_pci.c
@@ -682,7 +682,7 @@ static struct notifier_block pcipcwd_notifier = {
682 * Init & exit routines 682 * Init & exit routines
683 */ 683 */
684 684
685static int __devinit pcipcwd_card_init(struct pci_dev *pdev, 685static int pcipcwd_card_init(struct pci_dev *pdev,
686 const struct pci_device_id *ent) 686 const struct pci_device_id *ent)
687{ 687{
688 int ret = -EIO; 688 int ret = -EIO;
@@ -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)
@@ -812,7 +812,7 @@ static struct pci_driver pcipcwd_driver = {
812 .name = WATCHDOG_NAME, 812 .name = WATCHDOG_NAME,
813 .id_table = pcipcwd_pci_tbl, 813 .id_table = pcipcwd_pci_tbl,
814 .probe = pcipcwd_card_init, 814 .probe = pcipcwd_card_init,
815 .remove = __devexit_p(pcipcwd_card_exit), 815 .remove = pcipcwd_card_exit,
816}; 816};
817 817
818module_pci_driver(pcipcwd_driver); 818module_pci_driver(pcipcwd_driver);
diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c
index 87722e126058..dcba5dab6c29 100644
--- a/drivers/watchdog/pnx4008_wdt.c
+++ b/drivers/watchdog/pnx4008_wdt.c
@@ -146,7 +146,7 @@ static struct watchdog_device pnx4008_wdd = {
146 .max_timeout = MAX_HEARTBEAT, 146 .max_timeout = MAX_HEARTBEAT,
147}; 147};
148 148
149static int __devinit pnx4008_wdt_probe(struct platform_device *pdev) 149static int pnx4008_wdt_probe(struct platform_device *pdev)
150{ 150{
151 struct resource *r; 151 struct resource *r;
152 int ret = 0; 152 int ret = 0;
@@ -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
@@ -217,7 +217,7 @@ static struct platform_driver platform_wdt_driver = {
217 .of_match_table = of_match_ptr(pnx4008_wdt_match), 217 .of_match_table = of_match_ptr(pnx4008_wdt_match),
218 }, 218 },
219 .probe = pnx4008_wdt_probe, 219 .probe = pnx4008_wdt_probe,
220 .remove = __devexit_p(pnx4008_wdt_remove), 220 .remove = pnx4008_wdt_remove,
221}; 221};
222 222
223module_platform_driver(platform_wdt_driver); 223module_platform_driver(platform_wdt_driver);
diff --git a/drivers/watchdog/rc32434_wdt.c b/drivers/watchdog/rc32434_wdt.c
index 547353a50ebb..f78bc008cbb7 100644
--- a/drivers/watchdog/rc32434_wdt.c
+++ b/drivers/watchdog/rc32434_wdt.c
@@ -260,7 +260,7 @@ static struct miscdevice rc32434_wdt_miscdev = {
260 .fops = &rc32434_wdt_fops, 260 .fops = &rc32434_wdt_fops,
261}; 261};
262 262
263static int __devinit rc32434_wdt_probe(struct platform_device *pdev) 263static int rc32434_wdt_probe(struct platform_device *pdev)
264{ 264{
265 int ret; 265 int ret;
266 struct resource *r; 266 struct resource *r;
@@ -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);
@@ -320,7 +320,7 @@ static void rc32434_wdt_shutdown(struct platform_device *pdev)
320 320
321static struct platform_driver rc32434_wdt_driver = { 321static struct platform_driver rc32434_wdt_driver = {
322 .probe = rc32434_wdt_probe, 322 .probe = rc32434_wdt_probe,
323 .remove = __devexit_p(rc32434_wdt_remove), 323 .remove = rc32434_wdt_remove,
324 .shutdown = rc32434_wdt_shutdown, 324 .shutdown = rc32434_wdt_shutdown,
325 .driver = { 325 .driver = {
326 .name = "rc32434_wdt", 326 .name = "rc32434_wdt",
diff --git a/drivers/watchdog/rdc321x_wdt.c b/drivers/watchdog/rdc321x_wdt.c
index 042ccc56ae26..b0f116c2fd53 100644
--- a/drivers/watchdog/rdc321x_wdt.c
+++ b/drivers/watchdog/rdc321x_wdt.c
@@ -225,7 +225,7 @@ static struct miscdevice rdc321x_wdt_misc = {
225 .fops = &rdc321x_wdt_fops, 225 .fops = &rdc321x_wdt_fops,
226}; 226};
227 227
228static int __devinit rdc321x_wdt_probe(struct platform_device *pdev) 228static int rdc321x_wdt_probe(struct platform_device *pdev)
229{ 229{
230 int err; 230 int err;
231 struct resource *r; 231 struct resource *r;
@@ -272,7 +272,7 @@ static int __devinit 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;
@@ -286,7 +286,7 @@ static int __devexit rdc321x_wdt_remove(struct platform_device *pdev)
286 286
287static struct platform_driver rdc321x_wdt_driver = { 287static struct platform_driver rdc321x_wdt_driver = {
288 .probe = rdc321x_wdt_probe, 288 .probe = rdc321x_wdt_probe,
289 .remove = __devexit_p(rdc321x_wdt_remove), 289 .remove = rdc321x_wdt_remove,
290 .driver = { 290 .driver = {
291 .owner = THIS_MODULE, 291 .owner = THIS_MODULE,
292 .name = "rdc321x-wdt", 292 .name = "rdc321x-wdt",
diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c
index 49e1b1c2135c..0040451aec1d 100644
--- a/drivers/watchdog/riowd.c
+++ b/drivers/watchdog/riowd.c
@@ -174,7 +174,7 @@ static struct miscdevice riowd_miscdev = {
174 .fops = &riowd_fops 174 .fops = &riowd_fops
175}; 175};
176 176
177static int __devinit riowd_probe(struct platform_device *op) 177static int riowd_probe(struct platform_device *op)
178{ 178{
179 struct riowd *p; 179 struct riowd *p;
180 int err = -EINVAL; 180 int err = -EINVAL;
@@ -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
@@ -246,7 +246,7 @@ static struct platform_driver riowd_driver = {
246 .of_match_table = riowd_match, 246 .of_match_table = riowd_match,
247 }, 247 },
248 .probe = riowd_probe, 248 .probe = riowd_probe,
249 .remove = __devexit_p(riowd_remove), 249 .remove = riowd_remove,
250}; 250};
251 251
252module_platform_driver(riowd_driver); 252module_platform_driver(riowd_driver);
diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c
index 9245b4d23bfe..b0dab10fc6a5 100644
--- a/drivers/watchdog/s3c2410_wdt.c
+++ b/drivers/watchdog/s3c2410_wdt.c
@@ -303,7 +303,7 @@ static inline void s3c2410wdt_cpufreq_deregister(void)
303} 303}
304#endif 304#endif
305 305
306static int __devinit s3c2410wdt_probe(struct platform_device *pdev) 306static int s3c2410wdt_probe(struct platform_device *pdev)
307{ 307{
308 struct device *dev; 308 struct device *dev;
309 unsigned int wtcon; 309 unsigned int wtcon;
@@ -437,7 +437,7 @@ static int __devinit 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
@@ -508,7 +508,7 @@ MODULE_DEVICE_TABLE(of, s3c2410_wdt_match);
508 508
509static struct platform_driver s3c2410wdt_driver = { 509static struct platform_driver s3c2410wdt_driver = {
510 .probe = s3c2410wdt_probe, 510 .probe = s3c2410wdt_probe,
511 .remove = __devexit_p(s3c2410wdt_remove), 511 .remove = s3c2410wdt_remove,
512 .shutdown = s3c2410wdt_shutdown, 512 .shutdown = s3c2410wdt_shutdown,
513 .suspend = s3c2410wdt_suspend, 513 .suspend = s3c2410wdt_suspend,
514 .resume = s3c2410wdt_resume, 514 .resume = s3c2410wdt_resume,
diff --git a/drivers/watchdog/sch311x_wdt.c b/drivers/watchdog/sch311x_wdt.c
index 9681ada0f252..af7b136b1874 100644
--- a/drivers/watchdog/sch311x_wdt.c
+++ b/drivers/watchdog/sch311x_wdt.c
@@ -356,7 +356,7 @@ static struct miscdevice sch311x_wdt_miscdev = {
356 * Init & exit routines 356 * Init & exit routines
357 */ 357 */
358 358
359static int __devinit sch311x_wdt_probe(struct platform_device *pdev) 359static int sch311x_wdt_probe(struct platform_device *pdev)
360{ 360{
361 struct device *dev = &pdev->dev; 361 struct device *dev = &pdev->dev;
362 int err; 362 int err;
@@ -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)
@@ -451,7 +451,7 @@ static void sch311x_wdt_shutdown(struct platform_device *dev)
451 451
452static struct platform_driver sch311x_wdt_driver = { 452static struct platform_driver sch311x_wdt_driver = {
453 .probe = sch311x_wdt_probe, 453 .probe = sch311x_wdt_probe,
454 .remove = __devexit_p(sch311x_wdt_remove), 454 .remove = sch311x_wdt_remove,
455 .shutdown = sch311x_wdt_shutdown, 455 .shutdown = sch311x_wdt_shutdown,
456 .driver = { 456 .driver = {
457 .owner = THIS_MODULE, 457 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/shwdt.c b/drivers/watchdog/shwdt.c
index e5b59bebcdb1..6a89e4045fbd 100644
--- a/drivers/watchdog/shwdt.c
+++ b/drivers/watchdog/shwdt.c
@@ -217,7 +217,7 @@ static struct watchdog_device sh_wdt_dev = {
217 .ops = &sh_wdt_ops, 217 .ops = &sh_wdt_ops,
218}; 218};
219 219
220static int __devinit sh_wdt_probe(struct platform_device *pdev) 220static int sh_wdt_probe(struct platform_device *pdev)
221{ 221{
222 struct sh_wdt *wdt; 222 struct sh_wdt *wdt;
223 struct resource *res; 223 struct resource *res;
@@ -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
@@ -324,7 +324,7 @@ static struct platform_driver sh_wdt_driver = {
324 }, 324 },
325 325
326 .probe = sh_wdt_probe, 326 .probe = sh_wdt_probe,
327 .remove = __devexit_p(sh_wdt_remove), 327 .remove = sh_wdt_remove,
328 .shutdown = sh_wdt_shutdown, 328 .shutdown = sh_wdt_shutdown,
329}; 329};
330 330
diff --git a/drivers/watchdog/sp5100_tco.c b/drivers/watchdog/sp5100_tco.c
index ae5e82cb83fa..b3876812ff07 100644
--- a/drivers/watchdog/sp5100_tco.c
+++ b/drivers/watchdog/sp5100_tco.c
@@ -271,7 +271,7 @@ MODULE_DEVICE_TABLE(pci, sp5100_tco_pci_tbl);
271 * Init & exit routines 271 * Init & exit routines
272 */ 272 */
273 273
274static unsigned char __devinit sp5100_tco_setupdevice(void) 274static unsigned char sp5100_tco_setupdevice(void)
275{ 275{
276 struct pci_dev *dev = NULL; 276 struct pci_dev *dev = NULL;
277 u32 val; 277 u32 val;
@@ -361,7 +361,7 @@ exit:
361 return 0; 361 return 0;
362} 362}
363 363
364static int __devinit sp5100_tco_init(struct platform_device *dev) 364static int sp5100_tco_init(struct platform_device *dev)
365{ 365{
366 int ret; 366 int ret;
367 u32 val; 367 u32 val;
@@ -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();
@@ -439,7 +439,7 @@ static void sp5100_tco_shutdown(struct platform_device *dev)
439 439
440static struct platform_driver sp5100_tco_driver = { 440static struct platform_driver sp5100_tco_driver = {
441 .probe = sp5100_tco_init, 441 .probe = sp5100_tco_init,
442 .remove = __devexit_p(sp5100_tco_remove), 442 .remove = sp5100_tco_remove,
443 .shutdown = sp5100_tco_shutdown, 443 .shutdown = sp5100_tco_shutdown,
444 .driver = { 444 .driver = {
445 .owner = THIS_MODULE, 445 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/sp805_wdt.c b/drivers/watchdog/sp805_wdt.c
index e4841c36798b..4552847fc7fe 100644
--- a/drivers/watchdog/sp805_wdt.c
+++ b/drivers/watchdog/sp805_wdt.c
@@ -210,7 +210,7 @@ static const struct watchdog_ops wdt_ops = {
210 .get_timeleft = wdt_timeleft, 210 .get_timeleft = wdt_timeleft,
211}; 211};
212 212
213static int __devinit 213static int
214sp805_wdt_probe(struct amba_device *adev, const struct amba_id *id) 214sp805_wdt_probe(struct amba_device *adev, const struct amba_id *id)
215{ 215{
216 struct sp805_wdt *wdt; 216 struct sp805_wdt *wdt;
@@ -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
@@ -326,7 +326,7 @@ static struct amba_driver sp805_wdt_driver = {
326 }, 326 },
327 .id_table = sp805_wdt_ids, 327 .id_table = sp805_wdt_ids,
328 .probe = sp805_wdt_probe, 328 .probe = sp805_wdt_probe,
329 .remove = __devexit_p(sp805_wdt_remove), 329 .remove = sp805_wdt_remove,
330}; 330};
331 331
332module_amba_driver(sp805_wdt_driver); 332module_amba_driver(sp805_wdt_driver);
diff --git a/drivers/watchdog/stmp3xxx_wdt.c b/drivers/watchdog/stmp3xxx_wdt.c
index 21d96b92bfd7..1f4f69728fee 100644
--- a/drivers/watchdog/stmp3xxx_wdt.c
+++ b/drivers/watchdog/stmp3xxx_wdt.c
@@ -204,7 +204,7 @@ static struct miscdevice stmp3xxx_wdt_miscdev = {
204 .fops = &stmp3xxx_wdt_fops, 204 .fops = &stmp3xxx_wdt_fops,
205}; 205};
206 206
207static int __devinit stmp3xxx_wdt_probe(struct platform_device *pdev) 207static int stmp3xxx_wdt_probe(struct platform_device *pdev)
208{ 208{
209 int ret = 0; 209 int ret = 0;
210 210
@@ -229,7 +229,7 @@ static int __devinit 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;
@@ -269,7 +269,7 @@ static struct platform_driver platform_wdt_driver = {
269 .name = "stmp3xxx_wdt", 269 .name = "stmp3xxx_wdt",
270 }, 270 },
271 .probe = stmp3xxx_wdt_probe, 271 .probe = stmp3xxx_wdt_probe,
272 .remove = __devexit_p(stmp3xxx_wdt_remove), 272 .remove = stmp3xxx_wdt_remove,
273 .suspend = stmp3xxx_wdt_suspend, 273 .suspend = stmp3xxx_wdt_suspend,
274 .resume = stmp3xxx_wdt_resume, 274 .resume = stmp3xxx_wdt_resume,
275}; 275};
diff --git a/drivers/watchdog/ts72xx_wdt.c b/drivers/watchdog/ts72xx_wdt.c
index 8df050d800e6..b8a92459f10f 100644
--- a/drivers/watchdog/ts72xx_wdt.c
+++ b/drivers/watchdog/ts72xx_wdt.c
@@ -390,7 +390,7 @@ static struct miscdevice ts72xx_wdt_miscdev = {
390 .fops = &ts72xx_wdt_fops, 390 .fops = &ts72xx_wdt_fops,
391}; 391};
392 392
393static __devinit int ts72xx_wdt_probe(struct platform_device *pdev) 393static int ts72xx_wdt_probe(struct platform_device *pdev)
394{ 394{
395 struct ts72xx_wdt *wdt; 395 struct ts72xx_wdt *wdt;
396 struct resource *r1, *r2; 396 struct resource *r1, *r2;
@@ -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;
@@ -499,7 +499,7 @@ static __devexit int ts72xx_wdt_remove(struct platform_device *pdev)
499 499
500static struct platform_driver ts72xx_wdt_driver = { 500static struct platform_driver ts72xx_wdt_driver = {
501 .probe = ts72xx_wdt_probe, 501 .probe = ts72xx_wdt_probe,
502 .remove = __devexit_p(ts72xx_wdt_remove), 502 .remove = ts72xx_wdt_remove,
503 .driver = { 503 .driver = {
504 .name = "ts72xx-wdt", 504 .name = "ts72xx-wdt",
505 .owner = THIS_MODULE, 505 .owner = THIS_MODULE,
diff --git a/drivers/watchdog/twl4030_wdt.c b/drivers/watchdog/twl4030_wdt.c
index 249f11305d26..9f54b1da7185 100644
--- a/drivers/watchdog/twl4030_wdt.c
+++ b/drivers/watchdog/twl4030_wdt.c
@@ -170,7 +170,7 @@ static const struct file_operations twl4030_wdt_fops = {
170 .write = twl4030_wdt_write_fop, 170 .write = twl4030_wdt_write_fop,
171}; 171};
172 172
173static int __devinit twl4030_wdt_probe(struct platform_device *pdev) 173static int twl4030_wdt_probe(struct platform_device *pdev)
174{ 174{
175 int ret = 0; 175 int ret = 0;
176 struct twl4030_wdt *wdt; 176 struct twl4030_wdt *wdt;
@@ -204,7 +204,7 @@ static int __devinit 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
@@ -247,7 +247,7 @@ static int twl4030_wdt_resume(struct platform_device *pdev)
247 247
248static struct platform_driver twl4030_wdt_driver = { 248static struct platform_driver twl4030_wdt_driver = {
249 .probe = twl4030_wdt_probe, 249 .probe = twl4030_wdt_probe,
250 .remove = __devexit_p(twl4030_wdt_remove), 250 .remove = twl4030_wdt_remove,
251 .suspend = twl4030_wdt_suspend, 251 .suspend = twl4030_wdt_suspend,
252 .resume = twl4030_wdt_resume, 252 .resume = twl4030_wdt_resume,
253 .driver = { 253 .driver = {
diff --git a/drivers/watchdog/via_wdt.c b/drivers/watchdog/via_wdt.c
index aa50da3ccfe3..1a68f760cf86 100644
--- a/drivers/watchdog/via_wdt.c
+++ b/drivers/watchdog/via_wdt.c
@@ -155,7 +155,7 @@ static struct watchdog_device wdt_dev = {
155 .max_timeout = WDT_TIMEOUT_MAX, 155 .max_timeout = WDT_TIMEOUT_MAX,
156}; 156};
157 157
158static int __devinit wdt_probe(struct pci_dev *pdev, 158static int wdt_probe(struct pci_dev *pdev,
159 const struct pci_device_id *ent) 159 const struct pci_device_id *ent)
160{ 160{
161 unsigned char conf; 161 unsigned char conf;
@@ -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);
@@ -250,7 +250,7 @@ static struct pci_driver wdt_driver = {
250 .name = "via_wdt", 250 .name = "via_wdt",
251 .id_table = wdt_pci_table, 251 .id_table = wdt_pci_table,
252 .probe = wdt_probe, 252 .probe = wdt_probe,
253 .remove = __devexit_p(wdt_remove), 253 .remove = wdt_remove,
254}; 254};
255 255
256module_pci_driver(wdt_driver); 256module_pci_driver(wdt_driver);
diff --git a/drivers/watchdog/wdt_pci.c b/drivers/watchdog/wdt_pci.c
index e32654efdbb6..36a54c0e32dd 100644
--- a/drivers/watchdog/wdt_pci.c
+++ b/drivers/watchdog/wdt_pci.c
@@ -605,7 +605,7 @@ static struct notifier_block wdtpci_notifier = {
605}; 605};
606 606
607 607
608static int __devinit wdtpci_init_one(struct pci_dev *dev, 608static int wdtpci_init_one(struct pci_dev *dev,
609 const struct pci_device_id *ent) 609 const struct pci_device_id *ent)
610{ 610{
611 int ret = -EIO; 611 int ret = -EIO;
@@ -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 */
@@ -736,7 +736,7 @@ static struct pci_driver wdtpci_driver = {
736 .name = "wdt_pci", 736 .name = "wdt_pci",
737 .id_table = wdtpci_pci_tbl, 737 .id_table = wdtpci_pci_tbl,
738 .probe = wdtpci_init_one, 738 .probe = wdtpci_init_one,
739 .remove = __devexit_p(wdtpci_remove_one), 739 .remove = wdtpci_remove_one,
740}; 740};
741 741
742module_pci_driver(wdtpci_driver); 742module_pci_driver(wdtpci_driver);
diff --git a/drivers/watchdog/wm831x_wdt.c b/drivers/watchdog/wm831x_wdt.c
index 87d66d236c3e..9dcb6d082277 100644
--- a/drivers/watchdog/wm831x_wdt.c
+++ b/drivers/watchdog/wm831x_wdt.c
@@ -181,7 +181,7 @@ static const struct watchdog_ops wm831x_wdt_ops = {
181 .set_timeout = wm831x_wdt_set_timeout, 181 .set_timeout = wm831x_wdt_set_timeout,
182}; 182};
183 183
184static int __devinit wm831x_wdt_probe(struct platform_device *pdev) 184static int wm831x_wdt_probe(struct platform_device *pdev)
185{ 185{
186 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); 186 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
187 struct wm831x_pdata *chip_pdata; 187 struct wm831x_pdata *chip_pdata;
@@ -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
@@ -306,7 +306,7 @@ static int __devexit wm831x_wdt_remove(struct platform_device *pdev)
306 306
307static struct platform_driver wm831x_wdt_driver = { 307static struct platform_driver wm831x_wdt_driver = {
308 .probe = wm831x_wdt_probe, 308 .probe = wm831x_wdt_probe,
309 .remove = __devexit_p(wm831x_wdt_remove), 309 .remove = wm831x_wdt_remove,
310 .driver = { 310 .driver = {
311 .name = "wm831x-watchdog", 311 .name = "wm831x-watchdog",
312 }, 312 },
diff --git a/drivers/watchdog/wm8350_wdt.c b/drivers/watchdog/wm8350_wdt.c
index 3c76693447fd..34d272ada23d 100644
--- a/drivers/watchdog/wm8350_wdt.c
+++ b/drivers/watchdog/wm8350_wdt.c
@@ -140,7 +140,7 @@ static struct watchdog_device wm8350_wdt = {
140 .max_timeout = 4, 140 .max_timeout = 4,
141}; 141};
142 142
143static int __devinit wm8350_wdt_probe(struct platform_device *pdev) 143static int wm8350_wdt_probe(struct platform_device *pdev)
144{ 144{
145 struct wm8350 *wm8350 = platform_get_drvdata(pdev); 145 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
146 146
@@ -158,7 +158,7 @@ static int __devinit 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;
@@ -166,7 +166,7 @@ static int __devexit wm8350_wdt_remove(struct platform_device *pdev)
166 166
167static struct platform_driver wm8350_wdt_driver = { 167static struct platform_driver wm8350_wdt_driver = {
168 .probe = wm8350_wdt_probe, 168 .probe = wm8350_wdt_probe,
169 .remove = __devexit_p(wm8350_wdt_remove), 169 .remove = wm8350_wdt_remove,
170 .driver = { 170 .driver = {
171 .name = "wm8350-wdt", 171 .name = "wm8350-wdt",
172 }, 172 },
diff --git a/drivers/watchdog/xen_wdt.c b/drivers/watchdog/xen_wdt.c
index e4a25b51165c..92ad33d0cb71 100644
--- a/drivers/watchdog/xen_wdt.c
+++ b/drivers/watchdog/xen_wdt.c
@@ -244,7 +244,7 @@ static struct miscdevice xen_wdt_miscdev = {
244 .fops = &xen_wdt_fops, 244 .fops = &xen_wdt_fops,
245}; 245};
246 246
247static int __devinit xen_wdt_probe(struct platform_device *dev) 247static int xen_wdt_probe(struct platform_device *dev)
248{ 248{
249 struct sched_watchdog wd = { .id = ~0 }; 249 struct sched_watchdog wd = { .id = ~0 };
250 int ret = HYPERVISOR_sched_op(SCHEDOP_watchdog, &wd); 250 int ret = HYPERVISOR_sched_op(SCHEDOP_watchdog, &wd);
@@ -280,7 +280,7 @@ static int __devinit 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)
@@ -315,7 +315,7 @@ static int xen_wdt_resume(struct platform_device *dev)
315 315
316static struct platform_driver xen_wdt_driver = { 316static struct platform_driver xen_wdt_driver = {
317 .probe = xen_wdt_probe, 317 .probe = xen_wdt_probe,
318 .remove = __devexit_p(xen_wdt_remove), 318 .remove = xen_wdt_remove,
319 .shutdown = xen_wdt_shutdown, 319 .shutdown = xen_wdt_shutdown,
320 .suspend = xen_wdt_suspend, 320 .suspend = xen_wdt_suspend,
321 .resume = xen_wdt_resume, 321 .resume = xen_wdt_resume,