da9030_battery: Use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Mon, 11 Mar 2013 06:31:59 +0000 (15:31 +0900)
committerAnton Vorontsov <anton@enomsg.org>
Mon, 1 Apr 2013 06:25:51 +0000 (23:25 -0700)
commitbc67ea8e92d45d1237e289fd1c1ec004a8383ccc
tree9219227feaf042216c53be4afd611f30c15a8bc2
parentf0094958d9011d03e688251f8a9510e43a9323f6
da9030_battery: Use devm_kzalloc()

Use devm_kzalloc() to make cleanup paths more simple.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/da9030_battery.c