mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/7] power: supply: constify ocv and resistance tables
@ 2024-10-05 10:04 Thomas Weißschuh
  2024-10-05 10:04 ` [PATCH 1/7] power: supply: core: constify power_supply_battery_info::resist_table Thomas Weißschuh
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Thomas Weißschuh @ 2024-10-05 10:04 UTC (permalink / raw)
  To: Sebastian Reichel, Linus Walleij, Orson Zhai, Baolin Wang, Chunyan Zhang
  Cc: linux-pm, linux-kernel, Thomas Weißschuh

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

Signed-off-by: Thomas Weißschuh <linux@weissschuh.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@weissschuh.net>


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-10-15 21:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-05 10:04 [PATCH 0/7] power: supply: constify ocv and resistance tables Thomas Weißschuh
2024-10-05 10:04 ` [PATCH 1/7] power: supply: core: constify power_supply_battery_info::resist_table Thomas Weißschuh
2024-10-09 16:05   ` Linus Walleij
2024-10-05 10:04 ` [PATCH 2/7] power: supply: ab8500: constify resistance table Thomas Weißschuh
2024-10-05 10:04 ` [PATCH 3/7] power: supply: samsung-sdi-battery: " Thomas Weißschuh
2024-10-05 10:04 ` [PATCH 4/7] power: supply: sc27xx: use const reference to ocv table Thomas Weißschuh
2024-10-10  9:24   ` Baolin Wang
2024-10-05 10:04 ` [PATCH 5/7] power: supply: core: constify power_supply_battery_info::ocv_table Thomas Weißschuh
2024-10-05 10:04 ` [PATCH 6/7] power: supply: ab8500: constify ocv table Thomas Weißschuh
2024-10-05 10:04 ` [PATCH 7/7] power: supply: samsung-sdi-battery: " Thomas Weißschuh
2024-10-09 16:06 ` [PATCH 0/7] power: supply: constify ocv and resistance tables Linus Walleij
2024-10-15 21:01 ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome