diff options
| author | David Dai <daidavid1@codeaurora.org> | 2018-03-22 17:00:57 -0700 |
|---|---|---|
| committer | David Dai <daidavid1@codeaurora.org> | 2018-06-12 11:24:22 -0700 |
| commit | 0fa26966ffc56c9eac06e1318ad497bdb65dc8cd (patch) | |
| tree | 586de82c7a31912598d50a7a19f3ef6d852b4a93 /include/linux/overflow.h | |
| parent | 7bb3a011f80e3d4ca1ea2c888448b1e04b6d51a9 (diff) | |
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>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions
