]> www.infradead.org Git - users/dwmw2/linux.git/commit
power: supply: samsung-sdi-battery: constify ocv table
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 5 Oct 2024 10:04:23 +0000 (12:04 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 15 Oct 2024 20:14:12 +0000 (22:14 +0200)
commitb5289ba57a27a212acad14b81ec6597ce140e01d
tree48c679fe924e3c373e3f7cc92861d76ab5829ec0
parentb7b6bf444529c2ead9416e79d8dd8a2cb832cd24
power: supply: samsung-sdi-battery: constify ocv 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-7-c1f721927048@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/samsung-sdi-battery.c