[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210528090629.1800173-3-lee.jones@linaro.org>
Date: Fri, 28 May 2021 10:06:16 +0100
From: Lee Jones <lee.jones@...aro.org>
To: lee.jones@...aro.org
Cc: linux-kernel@...r.kernel.org, Pavel Machek <pavel@....cz>,
Uwe Kleine-Koenig <u.kleine-koenig@...gutronix.de>,
linux-leds@...r.kernel.org
Subject: [PATCH 02/15] 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 <pavel@....cz>
Cc: Uwe Kleine-Koenig <u.kleine-koenig@...gutronix.de>
Cc: linux-leds@...r.kernel.org
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
drivers/leds/leds-gpio-register.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/leds/leds-gpio-register.c b/drivers/leds/leds-gpio-register.c
index b9187e71e0cf2..de3f12c2b80d7 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
--
2.31.1
Powered by blists - more mailing lists