From: Julia Lawall Date: Mon, 30 Sep 2024 11:20:53 +0000 (+0200) Subject: leds: leds-gpio-register: Reorganize kerneldoc parameter names X-Git-Tag: v6.13-rc1~112^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42507413bb32666dcbb19a876e4b73419b05a0d1;p=thirdparty%2Flinux.git leds: leds-gpio-register: Reorganize kerneldoc parameter names Reorganize kerneldoc parameter names to match the parameter order in the function header. Problems identified using Coccinelle. Signed-off-by: Julia Lawall Link: https://lore.kernel.org/r/20240930112121.95324-8-Julia.Lawall@inria.fr Signed-off-by: Lee Jones --- diff --git a/drivers/leds/leds-gpio-register.c b/drivers/leds/leds-gpio-register.c index de3f12c2b80d7..ccc01fa72e6f3 100644 --- a/drivers/leds/leds-gpio-register.c +++ b/drivers/leds/leds-gpio-register.c @@ -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