]> git.karo-electronics.de Git - linux-beck.git/commit
ds2760_battery: Use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Mon, 11 Mar 2013 06:32:44 +0000 (15:32 +0900)
committerAnton Vorontsov <anton@enomsg.org>
Mon, 1 Apr 2013 06:25:47 +0000 (23:25 -0700)
commit4ec730dc8c697d991b9ba8910cb3f8d985016bec
tree66e2a44ea4975e154bce1740ba09558cc454b093
parent2cb12122b8173e535619a833d5efc65cef718239
ds2760_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/ds2760_battery.c