]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
leds: leds-gpio-register: Reorganize kerneldoc parameter names
authorJulia Lawall <Julia.Lawall@inria.fr>
Mon, 30 Sep 2024 11:20:53 +0000 (13:20 +0200)
committerLee Jones <lee@kernel.org>
Thu, 10 Oct 2024 13:42:33 +0000 (14:42 +0100)
Reorganize kerneldoc parameter names to match the parameter
order in the function header.

Problems identified using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/20240930112121.95324-8-Julia.Lawall@inria.fr
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-gpio-register.c

index de3f12c2b80d7e7e56c44867bb63bfad098c8367..ccc01fa72e6f35e10e75af13f7fb8f3695c96396 100644 (file)
@@ -10,8 +10,8 @@
 
 /**
  * gpio_led_register_device - register a gpio-led device
- * @pdata: the platform data used for the new device
  * @id: platform ID
+ * @pdata: the platform data used for the new device
  *
  * Makes a copy of pdata and pdata->leds and registers a new leds-gpio device
  * with the result. This allows to have pdata and pdata-leds in .init.rodata