Message ID | 20240930112121.95324-8-Julia.Lawall@inria.fr |
---|---|
State | New |
Headers | show |
Series | Reorganize kerneldoc parameter names | expand |
On Mon, 30 Sep 2024 13:20:53 +0200, Julia Lawall wrote: > Reorganize kerneldoc parameter names to match the parameter > order in the function header. > > Problems identified using Coccinelle. > > Applied, thanks! [07/35] leds: leds-gpio-register: Reorganize kerneldoc parameter names commit: 42507413bb32666dcbb19a876e4b73419b05a0d1 -- Lee Jones [李琼斯]
diff --git a/drivers/leds/leds-gpio-register.c b/drivers/leds/leds-gpio-register.c index de3f12c2b80d..ccc01fa72e6f 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
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> --- drivers/leds/leds-gpio-register.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)