charger-manager: Use kmemdup instead of kzalloc + memcpy
authorAndrei Epure <epure.andrei@gmail.com>
Wed, 27 Mar 2013 21:48:21 +0000 (23:48 +0200)
committerAnton Vorontsov <anton@enomsg.org>
Wed, 17 Apr 2013 01:56:38 +0000 (18:56 -0700)
Patch found using coccinelle.

Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/charger-manager.c

Simple merge