power: supply: max17042_battery: Add support for the TTE_NOW prop
authorGeordan Neukum <gneukum1@gmail.com>
Mon, 30 Mar 2020 05:33:55 +0000 (01:33 -0400)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 29 Apr 2020 18:12:46 +0000 (20:12 +0200)
commit21b01cc879cc3ecef013b3576db2925adfd881aa
treea456cc5e1da5c3c3935a976c4e4ad2c0592740d3
parentaa86e90794c8a76c38f2897aff6c1eaa3b96bba6
power: supply: max17042_battery: Add support for the TTE_NOW prop

The max170{42,47,50,55} family of fuel gauges all provide time-to-empty
estimation. As such, let's export this as a property.

Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/max17042_battery.c