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