charger-manager : Replace kzalloc to devm_kzalloc and remove uneccessary code
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Fri, 25 Oct 2013 02:47:31 +0000 (11:47 +0900)
committerAnton Vorontsov <anton@enomsg.org>
Fri, 25 Oct 2013 23:28:54 +0000 (16:28 -0700)
commit883c10a9dd8099e7519cdc43b75ac4066a6ae98d
tree13263bc1f91872c2df7e40574ea72d4001c184c5
parent3ed5cd79b82e9a055e0df3275eeb471ea0f1e2d7
charger-manager : Replace kzalloc to devm_kzalloc and remove uneccessary code

Use devm function for dynamic memory allocation.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/charger-manager.c