]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal/drivers/mediatek/lvts_thermal: Make read-only arrays static const
authorColin Ian King <colin.i.king@gmail.com>
Tue, 22 Oct 2024 18:46:22 +0000 (19:46 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 13 Nov 2024 15:17:57 +0000 (16:17 +0100)
commit62d9748fa1eea751400518b5ffe6825ce3e48deb
tree0b309199b1cdda597e3ab2d524639d1ee29a39d2
parent59e127d58c8df64efb76ff61e0622287b5234933
thermal/drivers/mediatek/lvts_thermal: Make read-only arrays static const

Don't populate the read-only arrays on the stack at run time, instead
make them static const.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Nicolas Pitre <npitre@baylibre.com>
Link: https://lore.kernel.org/r/20241022184622.1296044-1-colin.i.king@gmail.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/mediatek/lvts_thermal.c