power: max17042_battery: add HEALTH and TEMP_* properties support
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Sun, 24 May 2015 03:41:58 +0000 (09:11 +0530)
committerSebastian Reichel <sre@kernel.org>
Sat, 23 May 2015 20:43:28 +0000 (22:43 +0200)
This patch adds the support for following battery properties
to max17042 fuel gauge driver.

POWER_SUPPLY_PROP_TEMP_ALERT_MIN
POWER_SUPPLY_PROP_TEMP_ALERT_MAX
POWER_SUPPLY_PROP_TEMP_MIN
POWER_SUPPLY_PROP_TEMP_MAX
POWER_SUPPLY_PROP_HEALTH

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/max17042_battery.c
include/linux/power/max17042_battery.h

Simple merge