pcf50633-charger: Use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Mon, 11 Mar 2013 06:35:38 +0000 (15:35 +0900)
committerAnton Vorontsov <anton@enomsg.org>
Mon, 1 Apr 2013 06:25:32 +0000 (23:25 -0700)
commitc09dd7daba1d0d833075e4ee653ddc4e7f53a7e1
treed36eb227da67a54dc9a9864487b1728f2d7f88e7
parentb852ac51e25789846cb6257e737a9a1734a0d171
pcf50633-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/pcf50633-charger.c