Skip to content

Commit 4250741

Browse files
JuliaLawalllag-linaro
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 267f1ad commit 4250741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/leds/leds-gpio-register.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
/**
1212
* gpio_led_register_device - register a gpio-led device
13-
* @pdata: the platform data used for the new device
1413
* @id: platform ID
14+
* @pdata: the platform data used for the new device
1515
*
1616
* Makes a copy of pdata and pdata->leds and registers a new leds-gpio device
1717
* with the result. This allows to have pdata and pdata-leds in .init.rodata

0 commit comments

Comments
 (0)