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:David Dai <daidavid1@codeaurora.org> Signed-off-by:
Odelu Kukatla <okukatla@codeaurora.org>
Loading
Please register or sign in to comment