We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b568b15 commit d2f656dCopy full SHA for d2f656d
drivers/watchdog/it87_wdt.c
@@ -213,12 +213,16 @@ static int wdt_stop(struct watchdog_device *wdd)
213
214
/**
215
* wdt_set_timeout - set a new timeout value with watchdog ioctl
216
+ * @wdd: pointer to the watchdog_device structure
217
* @t: timeout value in seconds
218
*
219
* The hardware device has a 8 or 16 bit watchdog timer (depends on
220
* chip version) that can be configured to count seconds or minutes.
221
222
* Used within WDIOC_SETTIMEOUT watchdog device ioctl.
223
+ *
224
+ * Return: 0 if the timeout was set successfully, or a negative error code on
225
+ * failure.
226
*/
227
228
static int wdt_set_timeout(struct watchdog_device *wdd, unsigned int t)
0 commit comments