watchdog: document watchdog_init_timeout() wdd parameter

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/8bc86475a0ded71bb0cfa95d88b1708292741356
Commit:     8bc86475a0ded71bb0cfa95d88b1708292741356
Parent:     aeebc6ba88ba3758ad95467ff6191fabf2074c13
Refname:    refs/heads/master
Author:     Corentin Labbe <[email protected]>
AuthorDate: Wed Dec 13 20:41:40 2017 +0100
Committer:  Wim Van Sebroeck <[email protected]>
CommitDate: Thu Dec 28 20:45:56 2017 +0100

    watchdog: document watchdog_init_timeout() wdd parameter
    
    All parameters of watchdog_init_timeout() are documented with exception
    of wdd, thus generating a build warning.
    
    This patch document it and so remove the following build warning:
    drivers/watchdog/watchdog_core.c:113: warning: No description found for parameter 'wdd'
    
    Signed-off-by: Corentin Labbe <[email protected]>
    Reviewed-by: Guenter Roeck <[email protected]>
    Signed-off-by: Guenter Roeck <[email protected]>
    Signed-off-by: Wim Van Sebroeck <[email protected]>
---
 drivers/watchdog/watchdog_core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c
index 8a8d952f8df9..eb8fa25f8eb2 100644
--- a/drivers/watchdog/watchdog_core.c
+++ b/drivers/watchdog/watchdog_core.c
@@ -97,6 +97,7 @@ static void watchdog_check_min_max_timeout(struct watchdog_device *wdd)
 
 /**
  * watchdog_init_timeout() - initialize the timeout field
+ * @wdd: watchdog device
  * @timeout_parm: timeout module parameter
  * @dev: Device that stores the timeout-sec property
  *
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.