[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190730021540.66579-3-mbalant3@gmail.com>
Date: Mon, 29 Jul 2019 19:15:39 -0700
From: Mark Balantzyan <mbalant3@...il.com>
To: linux@...ck-us.net
Cc: wim@...ux-watchdog.org, linux-kernel@...r.kernel.org,
linux-watchdog@...r.kernel.org, andrianov@...ras.ru,
Mark Balantzyan <mbalant3@...il.com>
Subject: [PATCH 3/4] watchdog device drivers:pc87413_wdt: Tidying up conversion of pc87413_wdt driver to common watchdog interface, removal of some stray nowayout parameters
There is a potential for the variable swc_base_addr in the call chain of the
driver initialization function (init) to be used before initialization. This
brought up the need for, by rewriting the driver to use the common watchdog
interface, ensuring to have all resources in place. This patch addresses this
need by rewriting into common watchdog interface utilization for the driver.
Signed-off-by: Mark Balantzyan <mbalant3@...il.com>
---
drivers/watchdog/pc87413_wdt.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/watchdog/pc87413_wdt.c b/drivers/watchdog/pc87413_wdt.c
index a9070a22..bc6c4e19 100644
--- a/drivers/watchdog/pc87413_wdt.c
+++ b/drivers/watchdog/pc87413_wdt.c
@@ -392,9 +392,3 @@ module_param(timeout, int, 0);
MODULE_PARM_DESC(timeout,
"Watchdog timeout in minutes (default="
__MODULE_STRING(DEFAULT_TIMEOUT) ").");
-
-module_param(nowayout, bool, 0);
-MODULE_PARM_DESC(nowayout,
- "Watchdog cannot be stopped once started (default="
- __MODULE_STRING(WATCHDOG_NOWAYOUT) ")");
-
--
2.17.1
Powered by blists - more mailing lists