watchdog: booke_wdt: Document unused parameter of __booke_wdt_disable()

scripts/kernel-doc -none reports:

  Warning: drivers/watchdog/booke_wdt.c:158 function parameter 'data'
  not described in '__booke_wdt_disable'

__booke_wdt_disable() is invoked through on_each_cpu(), so it takes a
void * argument that it does not use. Its kernel-doc comment does not
describe the parameter at all.

Document it as unused.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
Link: https://lore.kernel.org/r/20260730060617.7-3-bbnpreetsingh@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Babanpreet Singh
2026-07-30 06:06:17 +00:00
committed by Guenter Roeck
parent 0ab46a83fa
commit b583ce8541

View File

@@ -149,6 +149,7 @@ static void __booke_wdt_enable(void *data)
/**
* __booke_wdt_disable - disable the watchdog on the given CPU
* @data: unused
*
* This function is called on each CPU. It disables the watchdog on that CPU.
*