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>
pull/1085/head
Julia Lawall 2024-09-30 13:20:53 +02:00 committed by Lee Jones
parent 267f1ad6fa
commit 42507413bb
1 changed files with 1 additions and 1 deletions

View 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