power: charger-manager: Use alarmtimer for battery monitoring in suspend.
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Fri, 19 Dec 2014 08:55:13 +0000 (17:55 +0900)
committerSebastian Reichel <sre@kernel.org>
Wed, 21 Jan 2015 19:52:07 +0000 (20:52 +0100)
commitc1155c64e603378dccfc21ee0612cf60dd11725b
tree7e532baf21fd51eb6a70339786152aceec54a206
parenta538cf04ef67861a208075a6d57d0f045822e1d6
power: charger-manager: Use alarmtimer for battery monitoring in suspend.

To guerantee proper charing and managing batteries even in suspend,
charger-manager has used rtc device with rtc framework interface.
However, it is better to use alarmtimer for cleaner and more appropriate
operation.
This patch makes driver to use alarmtimer for polling work in suspend and
removes all deprecated codes related with using rtc interface.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/Kconfig
drivers/power/charger-manager.c
include/linux/power/charger-manager.h