Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ffe2ba15 authored by Prasad Sodagudi's avatar Prasad Sodagudi Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-charger: change the kzalloc to devm_kzalloc in driver



Change the kzalloc allocations in the driver to devm_kzalloc
so that memory allocated with in probe function is automatically
freed on driver detach.

CRs-Fixed: 564898
Change-Id: I1edd08a0d08a6acbd0c1427ecc9f93c705d55f2f
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 11c527fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment