]> git.karo-electronics.de Git - linux-beck.git/commit
da9052-battery: Use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Mon, 11 Mar 2013 06:32:18 +0000 (15:32 +0900)
committerAnton Vorontsov <anton@enomsg.org>
Mon, 1 Apr 2013 06:25:49 +0000 (23:25 -0700)
commitf0094958d9011d03e688251f8a9510e43a9323f6
tree2926c58d0edca5fa0fa3951b2b5dbc83e19ab667
parent4ec730dc8c697d991b9ba8910cb3f8d985016bec
da9052-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/da9052-battery.c