diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2024-09-30 13:20:53 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-10-10 14:42:33 +0100 |
commit | 42507413bb32666dcbb19a876e4b73419b05a0d1 (patch) | |
tree | 8a4ef4904ff6d432529d4f66b499c50787a72e6e | |
parent | 267f1ad6fa0c45ba39d60c33949605820f791ae7 (diff) |
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 <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>
-rw-r--r-- | drivers/leds/leds-gpio-register.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |