[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241005-power-supply-battery-const-v1-0-c1f721927048@weissschuh.net>
Date: Sat, 05 Oct 2024 12:04:16 +0200
From: Thomas Weißschuh <linux@...ssschuh.net>
To: Sebastian Reichel <sre@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>, Orson Zhai <orsonzhai@...il.com>,
Baolin Wang <baolin.wang@...ux.alibaba.com>,
Chunyan Zhang <zhang.lyra@...il.com>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Thomas Weißschuh <linux@...ssschuh.net>
Subject: [PATCH 0/7] power: supply: constify ocv and resistance tables
These tables are nevery modified. Reflect this in the API and constify
the table definitions.
Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
---
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@...ssschuh.net>
Powered by blists - more mailing lists