aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/iTCO_wdt.c
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/iTCO_wdt.c
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/iTCO_wdt.c')
-rw-r--r--drivers/watchdog/iTCO_wdt.c4
1 files changed, 2 insertions, 2 deletions
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();