Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

leds: leds-mlxcpld: Fix a bunch of kernel-doc formatting issues

Fixes the following W=1 kernel build warning(s):

drivers/leds/leds-mlxcpld.c:72: warning: cannot understand function prototype: 'struct mlxcpld_param '
drivers/leds/leds-mlxcpld.c:83: warning: cannot understand function prototype: 'struct mlxcpld_led_priv '
drivers/leds/leds-mlxcpld.c:98: warning: cannot understand function prototype: 'struct mlxcpld_led_profile '
drivers/leds/leds-mlxcpld.c:114: warning: cannot understand function prototype: 'struct mlxcpld_led_pdata '

Cc: Vadim Pasternak <vadimp@nvidia.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: linux-leds@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>

authored by

Lee Jones and committed by
Pavel Machek
db30c91a 46cc5941

+19 -19
+19 -19
drivers/leds/leds-mlxcpld.c
··· 64 64 #define MLXCPLD_LED_BLINK_6HZ 83 /* ~83 msec off/on */ 65 65 66 66 /** 67 - * mlxcpld_param - LED access parameters: 68 - * @offset - offset for LED access in CPLD device 69 - * @mask - mask for LED access in CPLD device 70 - * @base_color - base color code for LED 67 + * struct mlxcpld_param - LED access parameters: 68 + * @offset: offset for LED access in CPLD device 69 + * @mask: mask for LED access in CPLD device 70 + * @base_color: base color code for LED 71 71 **/ 72 72 struct mlxcpld_param { 73 73 u8 offset; ··· 76 76 }; 77 77 78 78 /** 79 - * mlxcpld_led_priv - LED private data: 80 - * @cled - LED class device instance 81 - * @param - LED CPLD access parameters 79 + * struct mlxcpld_led_priv - LED private data: 80 + * @cled: LED class device instance 81 + * @param: LED CPLD access parameters 82 82 **/ 83 83 struct mlxcpld_led_priv { 84 84 struct led_classdev cdev; ··· 88 88 #define cdev_to_priv(c) container_of(c, struct mlxcpld_led_priv, cdev) 89 89 90 90 /** 91 - * mlxcpld_led_profile - system LED profile (defined per system class): 92 - * @offset - offset for LED access in CPLD device 93 - * @mask - mask for LED access in CPLD device 94 - * @base_color - base color code 95 - * @brightness - default brightness setting (on/off) 96 - * @name - LED name 91 + * struct mlxcpld_led_profile - system LED profile (defined per system class): 92 + * @offset: offset for LED access in CPLD device 93 + * @mask: mask for LED access in CPLD device 94 + * @base_color: base color code 95 + * @brightness: default brightness setting (on/off) 96 + * @name: LED name 97 97 **/ 98 98 struct mlxcpld_led_profile { 99 99 u8 offset; ··· 104 104 }; 105 105 106 106 /** 107 - * mlxcpld_led_pdata - system LED private data 108 - * @pdev - platform device pointer 109 - * @pled - LED class device instance 110 - * @profile - system configuration profile 111 - * @num_led_instances - number of LED instances 112 - * @lock - device access lock 107 + * struct mlxcpld_led_pdata - system LED private data 108 + * @pdev: platform device pointer 109 + * @pled: LED class device instance 110 + * @profile: system configuration profile 111 + * @num_led_instances: number of LED instances 112 + * @lock: device access lock 113 113 **/ 114 114 struct mlxcpld_led_pdata { 115 115 struct platform_device *pdev;