]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
leds: trigger: ledtrig-cpu: Fix incorrectly documented param 'ledevt'
authorLee Jones <lee.jones@linaro.org>
Fri, 28 May 2021 09:06:15 +0000 (10:06 +0100)
committerPavel Machek <pavel@ucw.cz>
Fri, 28 May 2021 09:38:53 +0000 (11:38 +0200)
Fixes the following W=1 kernel build warning(s):

 drivers/leds/trigger/ledtrig-cpu.c:52: warning: Function parameter or member 'ledevt' not described in 'ledtrig_cpu'
 drivers/leds/trigger/ledtrig-cpu.c:52: warning: Excess function parameter 'evt' description in 'ledtrig_cpu'

Cc: Pavel Machek <pavel@ucw.cz>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Bryan Wu <bryan.wu@canonical.com>
Cc: linux-leds@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/trigger/ledtrig-cpu.c

index fca62d50359096315037f0cfada62e0e0c2828c1..8af4f9bb9cde897fe2b0b1f159439b149ed87689 100644 (file)
@@ -43,7 +43,7 @@ static atomic_t num_active_cpus = ATOMIC_INIT(0);
 
 /**
  * ledtrig_cpu - emit a CPU event as a trigger
- * @evt: CPU event to be emitted
+ * @ledevt: CPU event to be emitted
  *
  * Emit a CPU event on a CPU core, which will trigger a
  * bound LED to turn on or turn off.