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

leds: leds-mlxreg: Fix incorrect documentation of struct member 'led_cdev' and 'led_cdev_name'

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

drivers/leds/leds-mlxreg.c:42: warning: Function parameter or member 'led_cdev' not described in 'mlxreg_led_data'
drivers/leds/leds-mlxreg.c:42: warning: Function parameter or member 'led_cdev_name' not described in 'mlxreg_led_data'

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
aedc1357 6e174d39

+2 -1
+2 -1
drivers/leds/leds-mlxreg.c
··· 28 28 * struct mlxreg_led_data - led control data: 29 29 * 30 30 * @data: led configuration data; 31 - * @led_classdev: led class data; 31 + * @led_cdev: led class data; 32 32 * @base_color: base led color (other colors have constant offset from base); 33 33 * @led_data: led data; 34 34 * @data_parent: pointer to private device control data of parent; 35 + * @led_cdev_name: class device name 35 36 */ 36 37 struct mlxreg_led_data { 37 38 struct mlxreg_core_data *data;