Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

leds: trigger: ledtrig-cpu: Fix incorrectly documented param 'ledevt'

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>

authored by

Lee Jones and committed by
Pavel Machek
c10074a1 ee522bcf

+1 -1
+1 -1
drivers/leds/trigger/ledtrig-cpu.c
··· 43 43 44 44 /** 45 45 * ledtrig_cpu - emit a CPU event as a trigger 46 - * @evt: CPU event to be emitted 46 + * @ledevt: CPU event to be emitted 47 47 * 48 48 * Emit a CPU event on a CPU core, which will trigger a 49 49 * bound LED to turn on or turn off.