From: Kim, Milo <Milo.Kim@ti.com>
Date: Tue, 26 Mar 2013 07:26:49 +0000 (+0000)
Subject: watchdog: softdog: remove replaceable ping operation
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=086f3ec187a18e29f8f36ebd4ae9eb8d48d9fd03;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

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>
---

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,
 };