]> git.karo-electronics.de Git - linux-beck.git/commit
rx51_battery: Use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Mon, 11 Mar 2013 06:35:58 +0000 (15:35 +0900)
committerAnton Vorontsov <anton@enomsg.org>
Mon, 1 Apr 2013 06:25:30 +0000 (23:25 -0700)
commitb852ac51e25789846cb6257e737a9a1734a0d171
tree60f6ffd50cb00da4d8f8353d12b637a93e6facd0
parent3f8060a5fe1825dce3bf9870f4bef964fe6374c9
rx51_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/rx51_battery.c