watchdog: softdog: remove replaceable ping operation
authorKim, Milo <Milo.Kim@ti.com>
Tue, 26 Mar 2013 07:26:49 +0000 (07:26 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 11 Jul 2013 20:19:30 +0000 (22:19 +0200)
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>
drivers/watchdog/softdog.c

index fe83beb..b68b1e5 100644 (file)
@@ -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,
 };