aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/watchdog
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2018-12-17 14:14:11 -0500
committerWim Van Sebroeck <wim@linux-watchdog.org>2018-12-24 07:15:06 -0500
commit2b6d86a73ec07f1ba95a274d8756fa1e67ef29c4 (patch)
tree9d788355f9ca2df65995e543bf59cb355549ca51 /Documentation/watchdog
parente536f7304badbf15e2099f08b5d47fbbf111a624 (diff)
watchdog: docs: kernel-api: don't reference removed functions
Those functions are not only deprecated, but gone for good. Fixes: 62cd1c40ce1c ("watchdog: kill unref/ref ops") Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'Documentation/watchdog')
-rw-r--r--Documentation/watchdog/watchdog-kernel-api.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/Documentation/watchdog/watchdog-kernel-api.txt b/Documentation/watchdog/watchdog-kernel-api.txt
index 9b93953f69cf..3a91ef5af044 100644
--- a/Documentation/watchdog/watchdog-kernel-api.txt
+++ b/Documentation/watchdog/watchdog-kernel-api.txt
@@ -128,8 +128,6 @@ struct watchdog_ops {
128 int (*set_pretimeout)(struct watchdog_device *, unsigned int); 128 int (*set_pretimeout)(struct watchdog_device *, unsigned int);
129 unsigned int (*get_timeleft)(struct watchdog_device *); 129 unsigned int (*get_timeleft)(struct watchdog_device *);
130 int (*restart)(struct watchdog_device *); 130 int (*restart)(struct watchdog_device *);
131 void (*ref)(struct watchdog_device *) __deprecated;
132 void (*unref)(struct watchdog_device *) __deprecated;
133 long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long); 131 long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long);
134}; 132};
135 133
@@ -218,8 +216,6 @@ they are supported. These optional routines/operations are:
218 if a command is not supported. The parameters that are passed to the ioctl 216 if a command is not supported. The parameters that are passed to the ioctl
219 call are: watchdog_device, cmd and arg. 217 call are: watchdog_device, cmd and arg.
220 218
221The 'ref' and 'unref' operations are no longer used and deprecated.
222
223The status bits should (preferably) be set with the set_bit and clear_bit alike 219The status bits should (preferably) be set with the set_bit and clear_bit alike
224bit-operations. The status bits that are defined are: 220bit-operations. The status bits that are defined are:
225* WDOG_ACTIVE: this status bit indicates whether or not a watchdog timer device 221* WDOG_ACTIVE: this status bit indicates whether or not a watchdog timer device