Skip to content

Commit 9546b21

Browse files
rddunlapWim Van Sebroeck
authored andcommitted
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: Randy Dunlap <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Cc: Michael Shych <[email protected]> Cc: Wim Van Sebroeck <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: [email protected] Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 179c4ac commit 9546b21

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/watchdog/mlx_wdt.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,15 @@
3030
* struct mlxreg_wdt - wd private data:
3131
*
3232
* @wdd: watchdog device;
33-
* @device: basic device;
3433
* @pdata: data received from platform driver;
3534
* @regmap: register map of parent device;
36-
* @timeout: defined timeout in sec.;
3735
* @action_idx: index for direct access to action register;
3836
* @timeout_idx:index for direct access to TO register;
3937
* @tleft_idx: index for direct access to time left register;
4038
* @ping_idx: index for direct access to ping register;
4139
* @reset_idx: index for direct access to reset cause register;
4240
* @regmap_val_sz: size of value in register map;
43-
* @wd_type: watchdog HW type;
41+
* @wdt_type: watchdog HW type;
4442
*/
4543
struct mlxreg_wdt {
4644
struct watchdog_device wdd;

0 commit comments

Comments
 (0)