leds: leds-mlxreg: Fix incorrect documentation of struct member 'led_cdev' and 'led_c...
authorLee Jones <lee.jones@linaro.org>
Fri, 28 May 2021 09:06:26 +0000 (10:06 +0100)
committerPavel Machek <pavel@ucw.cz>
Fri, 28 May 2021 09:38:59 +0000 (11:38 +0200)
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>
drivers/leds/leds-mlxreg.c

index 82aea1c..b7855c9 100644 (file)
  * struct mlxreg_led_data - led control data:
  *
  * @data: led configuration data;
- * @led_classdev: led class 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
  */
 struct mlxreg_led_data {
        struct mlxreg_core_data *data;