ds2780_battery: Use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Mon, 11 Mar 2013 06:33:05 +0000 (15:33 +0900)
committerAnton Vorontsov <anton@enomsg.org>
Mon, 1 Apr 2013 06:25:45 +0000 (23:25 -0700)
commit2cb12122b8173e535619a833d5efc65cef718239
tree1de7c8c5dca08656914f000f4a1ad177f498538d
parentb92ff855b97795d8be3115c0aff04f6efb5a53aa
ds2780_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/ds2780_battery.c