]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
power: supply: core: Parse battery chemistry/technology
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 5 Aug 2021 08:58:28 +0000 (10:58 +0200)
committerSebastian Reichel <sre@kernel.org>
Sat, 14 Aug 2021 10:48:07 +0000 (12:48 +0200)
commit4eef766b7d4d88f0b984781bc1bcb574a6eafdc7
tree4dfad7de8464c839bbfe46c365b4afd6be9d471b
parentb171cb623ca253856b7bf7345e8761a7f24b54b9
power: supply: core: Parse battery chemistry/technology

This extends the struct power_supply_battery_info with a
"technology" field makes the core DT parser optionally obtain
this from the device tree.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/power_supply_core.c
include/linux/power_supply.h