]> www.infradead.org Git - users/dwmw2/linux.git/commit
power: supply: samsung-sdi-battery: constify resistance table
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 5 Oct 2024 10:04:19 +0000 (12:04 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 15 Oct 2024 20:14:12 +0000 (22:14 +0200)
commit27fde3aa4f924793966c8aa5b10506c41ce933e1
tree1799089a4f1b8bc49eb8f9ea9ca54b7c2d71eb86
parent40d00fa5a8be87812a7acb6524eb3d8fd3ea42b9
power: supply: samsung-sdi-battery: constify resistance table

The power supply core now allows this constification.
Prevent accidental or malicious modification of the data.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241005-power-supply-battery-const-v1-3-c1f721927048@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/samsung-sdi-battery.c