Commit 9546b21e authored by Randy Dunlap's avatar Randy Dunlap Committed by Wim Van Sebroeck

watchdog: mlx_wdt: fix all kernel-doc warnings

Correct kernel-doc warnings as reported by kernel test robot:

mlx_wdt.c:56: warning: Function parameter or member 'wdt_type' not described in 'mlxreg_wdt'
mlx_wdt.c:56: warning: Excess struct member 'device' description in 'mlxreg_wdt'
mlx_wdt.c:56: warning: Excess struct member 'timeout' description in 'mlxreg_wdt'
mlx_wdt.c:56: warning: Excess struct member 'wd_type' description in 'mlxreg_wdt'
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312171701.xNkzdgdi-lkp@intel.com/
Cc: Michael Shych <michaelsh@nvidia.com>
Cc: Wim Van Sebroeck <wim@linux-watchdog.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: linux-watchdog@vger.kernel.org
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20231218062659.26916-1-rdunlap@infradead.orgSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 179c4acd
...@@ -30,17 +30,15 @@ ...@@ -30,17 +30,15 @@
* struct mlxreg_wdt - wd private data: * struct mlxreg_wdt - wd private data:
* *
* @wdd: watchdog device; * @wdd: watchdog device;
* @device: basic device;
* @pdata: data received from platform driver; * @pdata: data received from platform driver;
* @regmap: register map of parent device; * @regmap: register map of parent device;
* @timeout: defined timeout in sec.;
* @action_idx: index for direct access to action register; * @action_idx: index for direct access to action register;
* @timeout_idx:index for direct access to TO register; * @timeout_idx:index for direct access to TO register;
* @tleft_idx: index for direct access to time left register; * @tleft_idx: index for direct access to time left register;
* @ping_idx: index for direct access to ping register; * @ping_idx: index for direct access to ping register;
* @reset_idx: index for direct access to reset cause register; * @reset_idx: index for direct access to reset cause register;
* @regmap_val_sz: size of value in register map; * @regmap_val_sz: size of value in register map;
* @wd_type: watchdog HW type; * @wdt_type: watchdog HW type;
*/ */
struct mlxreg_wdt { struct mlxreg_wdt {
struct watchdog_device wdd; struct watchdog_device wdd;
......
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