power: supply: sbs-battery: Improve POWER_SUPPLY_PROP_TECHNOLOGY support
authorSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 13 May 2020 18:56:06 +0000 (20:56 +0200)
committerSebastian Reichel <sre@kernel.org>
Thu, 28 May 2020 22:39:22 +0000 (00:39 +0200)
commit3e9544f7a3428a524f8877f6fd99d50848c765ff
treec35f38a43cb2c7bcb866f91f117c1f80673bd9c8
parent8ce6ee43bd6e8ec0dc1f4bcbfeb103e634233d28
power: supply: sbs-battery: Improve POWER_SUPPLY_PROP_TECHNOLOGY support

This reads the battery chemistry from the battery chip instead
of incorrectly hardcoding the type to be Li-Ion.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/sbs-battery.c