aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2021-05-28 10:06:16 +0100
committerPavel Machek <[email protected]>2021-05-28 11:38:54 +0200
commitc5a87a4ac2bfecd146d7a2653481e5cea4bf76fe (patch)
treef95836d7f81b3d729b0d087e413ebc4d6bdf5d9c
parentc10074a1e5809ebce7f9cdaadbb820b8b447d5ad (diff)
leds: leds-gpio-register: Supply description for param 'id'
Fixes the following W=1 kernel build warning(s): drivers/leds/leds-gpio-register.c:24: warning: Function parameter or member 'id' not described in 'gpio_led_register_device' Cc: Pavel Machek <[email protected]> Cc: Uwe Kleine-Koenig <[email protected]> Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
-rw-r--r--drivers/leds/leds-gpio-register.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-gpio-register.c b/drivers/leds/leds-gpio-register.c
index b9187e71e0cf..de3f12c2b80d 100644
--- a/drivers/leds/leds-gpio-register.c
+++ b/drivers/leds/leds-gpio-register.c
@@ -11,6 +11,7 @@
/**
* gpio_led_register_device - register a gpio-led device
* @pdata: the platform data used for the new device
+ * @id: platform ID
*
* 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