wm831x_backup: Use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Mon, 11 Mar 2013 06:36:19 +0000 (15:36 +0900)
committerAnton Vorontsov <anton@enomsg.org>
Mon, 1 Apr 2013 06:24:37 +0000 (23:24 -0700)
commitf11d018fd6f24e611e06d6aedd91c59831b3bf05
tree7f189b5dbf48b08f678803c76b5539b7a6f6fede
parent594f8f888d325591851f419c22e0349263214eff
wm831x_backup: 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/wm831x_backup.c