Commit 8a4529a3 authored by Jingoo Han's avatar Jingoo Han Committed by Bryan Wu

leds: wm831x: add missing const

Fixed the checkpatch warning as below:

  WARNING: static const char * array should probably be static const char * const
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent d7789430
...@@ -157,7 +157,7 @@ static int wm831x_status_blink_set(struct led_classdev *led_cdev, ...@@ -157,7 +157,7 @@ static int wm831x_status_blink_set(struct led_classdev *led_cdev,
return ret; return ret;
} }
static const char *led_src_texts[] = { static const char * const led_src_texts[] = {
"otp", "otp",
"power", "power",
"charger", "charger",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment