Re: [PATCH] leds: mlxreg: fix a kernel-doc warning

From: Lee Jones
Date: Fri Feb 23 2024 - 06:01:10 EST


On Tue, 20 Feb 2024, Randy Dunlap wrote:

Would you mind being more descriptive in your subject lines please?

It's common for people (me included) to find subject lines a reliable
way to search through Git history and these types of descriptions are
likely to cause duplication.

Thanks.

> Drop one struct description to fix a kernel-doc warning:
>
> drivers/leds/leds-mlxreg.c:42: warning: Excess struct member 'led_data' description in 'mlxreg_led_data'
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Vadim Pasternak <vadimp@xxxxxxxxxx>
> Cc: Pavel Machek <pavel@xxxxxx>
> Cc: Lee Jones <lee@xxxxxxxxxx>
> Cc: linux-leds@xxxxxxxxxxxxxxx
> ---
> drivers/leds/leds-mlxreg.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff -- a/drivers/leds/leds-mlxreg.c b/drivers/leds/leds-mlxreg.c
> --- a/drivers/leds/leds-mlxreg.c
> +++ b/drivers/leds/leds-mlxreg.c
> @@ -29,7 +29,6 @@
> * @data: led configuration data;
> * @led_cdev: led class data;
> * @base_color: base led color (other colors have constant offset from base);
> - * @led_data: led data;
> * @data_parent: pointer to private device control data of parent;
> * @led_cdev_name: class device name
> */

--
Lee Jones [李琼斯]