charger-manager: Use kmemdup instead of kzalloc + memcpy
Patch found using coccinelle. Signed-off-by:Andrei Epure <epure.andrei@gmail.com> Signed-off-by:
Anton Vorontsov <anton@enomsg.org>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Patch found using coccinelle. Signed-off-by:Andrei Epure <epure.andrei@gmail.com> Signed-off-by:
Anton Vorontsov <anton@enomsg.org>