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