[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240221060146.30850-1-rdunlap@infradead.org>
Date: Tue, 20 Feb 2024 22:01:46 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
Vadim Pasternak <vadimp@...dia.com>,
Pavel Machek <pavel@....cz>,
Lee Jones <lee@...nel.org>,
linux-leds@...r.kernel.org
Subject: [PATCH] leds: leds-mlxcpld: fix kernel-doc warnings
Change "cled" to "cdev" to quieten kernel-doc warnings:
leds-mlxcpld.c:86: warning: Function parameter or struct member 'cdev' not described in 'mlxcpld_led_priv'
leds-mlxcpld.c:86: warning: Excess struct member 'cled' description in 'mlxcpld_led_priv'
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Vadim Pasternak <vadimp@...dia.com>
Cc: Pavel Machek <pavel@....cz>
Cc: Lee Jones <lee@...nel.org>
Cc: linux-leds@...r.kernel.org
---
drivers/leds/leds-mlxcpld.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -- a/drivers/leds/leds-mlxcpld.c b/drivers/leds/leds-mlxcpld.c
--- a/drivers/leds/leds-mlxcpld.c
+++ b/drivers/leds/leds-mlxcpld.c
@@ -77,7 +77,7 @@ struct mlxcpld_param {
/**
* struct mlxcpld_led_priv - LED private data:
- * @cled: LED class device instance
+ * @cdev: LED class device instance
* @param: LED CPLD access parameters
**/
struct mlxcpld_led_priv {
Powered by blists - more mailing lists