summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/softdog.c
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2013-03-26 08:26:49 +0100
committerWim Van Sebroeck <wim@iguana.be>2013-07-11 22:19:30 +0200
commit086f3ec187a18e29f8f36ebd4ae9eb8d48d9fd03 (patch)
tree2c0ad69d5222cadd700a7bef741ce058b24a0711 /drivers/watchdog/softdog.c
parentwatchdog: New watchdog driver for MEN A21 watchdogs (diff)
downloadlinux-086f3ec187a18e29f8f36ebd4ae9eb8d48d9fd03.tar.xz
linux-086f3ec187a18e29f8f36ebd4ae9eb8d48d9fd03.zip
watchdog: softdog: remove replaceable ping operation
In watchdog_ping(), 'start' is called automatically when 'ping' function call is not configured. Softdog driver has same handling in both cases - start and ping, so 'ping' OPS can be removed. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to '')
-rw-r--r--drivers/watchdog/softdog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/watchdog/softdog.c b/drivers/watchdog/softdog.c
index fe83beb8f1b7..b68b1e519d53 100644
--- a/drivers/watchdog/softdog.c
+++ b/drivers/watchdog/softdog.c
@@ -152,7 +152,6 @@ static struct watchdog_ops softdog_ops = {
.owner = THIS_MODULE,
.start = softdog_ping,
.stop = softdog_stop,
- .ping = softdog_ping,
.set_timeout = softdog_set_timeout,
};