[PATCH 0/7] power: supply: constify ocv and resistance tables

From: Thomas Weißschuh
Date: Sat Oct 05 2024 - 06:04:56 EST


These tables are nevery modified. Reflect this in the API and constify
the table definitions.

Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Thomas Weißschuh (7):
power: supply: core: constify power_supply_battery_info::resist_table
power: supply: ab8500: constify resistance table
power: supply: samsung-sdi-battery: constify resistance table
power: supply: sc27xx: use const reference to ocv table
power: supply: core: constify power_supply_battery_info::ocv_table
power: supply: ab8500: constify ocv table
power: supply: samsung-sdi-battery: constify ocv table

drivers/power/supply/ab8500_bmdata.c | 4 ++--
drivers/power/supply/power_supply_core.c | 12 ++++++------
drivers/power/supply/samsung-sdi-battery.c | 10 +++++-----
drivers/power/supply/sc27xx_fuel_gauge.c | 2 +-
include/linux/power_supply.h | 10 +++++-----
5 files changed, 19 insertions(+), 19 deletions(-)
---
base-commit: 27cc6fdf720183dce1dbd293483ec5a9cb6b595e
change-id: 20240922-power-supply-battery-const-3722df7d16e4

Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>