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

Commit b606ec3f authored by Odelu Kukatla's avatar Odelu Kukatla
Browse files

msm: msm_bus: Fix error handling in msm_bus_device_init



Correctly free pointers allocated by kzalloc. Remove devm_kfree
in error handling as device associated memory is automatically
freed upon destruction of device. Always use put_device instead
of kfree on initialized device.

Change-Id: Icbd88e9ccd42fedb4fbce5eff69248c3fceffc02
Signed-off-by: default avatarDavid Dai <daidavid1@codeaurora.org>
Signed-off-by: default avatarOdelu Kukatla <okukatla@codeaurora.org>
parent fab1b6d5
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