1
0

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>
Este cometimento está contido em:
Jonghwa Lee
2014-12-19 17:55:13 +09:00
cometido por Sebastian Reichel
ascendente a538cf04ef
cometimento c1155c64e6
3 ficheiros modificados com 85 adições e 240 eliminações

Ver ficheiro

@@ -315,7 +315,7 @@ config CHARGER_GPIO
config CHARGER_MANAGER
bool "Battery charger manager for multiple chargers"
depends on REGULATOR && RTC_CLASS
depends on REGULATOR
select EXTCON
help
Say Y to enable charger-manager support, which allows multiple