Commit 3452239e authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Wim Van Sebroeck

watchdog: sp805: Fix kernel doc description

Kernel doc validation script is not happy

  CHECK   .../sp805_wdt.c
  .../sp805_wdt.c:73: warning: Function parameter or member 'rate' not described in 'sp805_wdt'

Fix this by describing rate parameter.

While at it, mark clk one optional.

Fixes: dc0e4a3b ("watchdog: sp805: Add clock-frequency property")
Cc: Srinath Mannam <srinath.mannam@broadcom.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210517174912.26419-1-andriy.shevchenko@linux.intel.comSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 05f0a994
...@@ -57,7 +57,8 @@ ...@@ -57,7 +57,8 @@
* @wdd: instance of struct watchdog_device * @wdd: instance of struct watchdog_device
* @lock: spin lock protecting dev structure and io access * @lock: spin lock protecting dev structure and io access
* @base: base address of wdt * @base: base address of wdt
* @clk: clock structure of wdt * @clk: (optional) clock structure of wdt
* @rate: (optional) clock rate when provided via properties
* @adev: amba device structure of wdt * @adev: amba device structure of wdt
* @status: current status of wdt * @status: current status of wdt
* @load_val: load value to be set for current timeout * @load_val: load value to be set for current timeout
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment