[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240229071931.7870-3-rdunlap@infradead.org>
Date: Wed, 28 Feb 2024 23:19:30 -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 v2 2/3] leds: leds-mlxcpld: fix struct mlxcpld_led_priv member name
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
---
v2: make the 3 leds patches a series as requested by Lee;
make the Subject better/unique
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