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