summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lm3530.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-05-28 11:06:23 +0200
committerPavel Machek <pavel@ucw.cz>2021-05-28 11:38:58 +0200
commit2906aecb9aca8e48668da0ad112d0c0e7ff4e4d4 (patch)
tree15e296640847291ca03b46ba14c5393cc1b62b29 /drivers/leds/leds-lm3530.c
parentleds: leds-lp3944: Provide missing function names in documentation headers (diff)
downloadlinux-2906aecb9aca8e48668da0ad112d0c0e7ff4e4d4.tar.xz
linux-2906aecb9aca8e48668da0ad112d0c0e7ff4e4d4.zip
leds: leds-lm3530: Fix incorrect spelling of 'brightness'
Fixes the following W=1 kernel build warning(s): drivers/leds/leds-lm3530.c:113: warning: Function parameter or member 'brightness' not described in 'lm3530_data' Cc: Pavel Machek <pavel@ucw.cz> Cc: Kumar SAHU <shreshthakumar.sahu@stericsson.com> Cc: Dan Murphy <D.Murphy@motorola.com> Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to '')
-rw-r--r--drivers/leds/leds-lm3530.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-lm3530.c b/drivers/leds/leds-lm3530.c
index 2db455efd4b1..e72393534b72 100644
--- a/drivers/leds/leds-lm3530.c
+++ b/drivers/leds/leds-lm3530.c
@@ -99,7 +99,7 @@ static struct lm3530_mode_map mode_map[] = {
* @pdata: LM3530 platform data
* @mode: mode of operation - manual, ALS, PWM
* @regulator: regulator
- * @brighness: previous brightness value
+ * @brightness: previous brightness value
* @enable: regulator is enabled
*/
struct lm3530_data {