leds: aw200xx: Make read-only array coeff_table static const
authorColin Ian King <colin.i.king@gmail.com>
Fri, 19 Jan 2024 23:26:30 +0000 (23:26 +0000)
committerLee Jones <lee@kernel.org>
Thu, 7 Mar 2024 08:48:02 +0000 (08:48 +0000)
commitd0532248df7111428abd12875c90c34a39a546e4
treefc7b5cff8465a4deb0a2654bda96c1dd9584a93d
parent7eef64da0b0ad8e90409fc4aa80eb69c1b4bdd2c
leds: aw200xx: Make read-only array coeff_table static const

Don't populate the read-only array coeff_table on the stack at
run time, instead make it static const.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20240119232630.2752239-1-colin.i.king@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-aw200xx.c