charger-manager: Provide cm_notify_event function for in-kernel use
authorChanwoo Choi <cw00.choi@samsung.com>
Sat, 5 May 2012 13:26:47 +0000 (06:26 -0700)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Sun, 6 May 2012 02:51:58 +0000 (19:51 -0700)
commitdfeccb12b4614befc49a92eb121c2211294ca669
tree90098ac099d9915af3e941a4d6012507dc10a8df
parentd829dc75bafb10754f35fb8895e5143d20267b04
charger-manager: Provide cm_notify_event function for in-kernel use

By using cm_notify_event function, charger driver can report several
charger events (e.g. battery full and external power in/out, etc) to
Charger-Manager. Charger-Manager can properly and immediately control
chargers by the reported event.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Documentation/power/charger-manager.txt
drivers/power/charger-manager.c
include/linux/power/charger-manager.h