diff options
| author | Amitoj Kaur Chawla <[email protected]> | 2016-02-18 20:11:36 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-20 15:02:06 -0800 |
| commit | 8661fca6f679996133765fa905e9a480b8c96a74 (patch) | |
| tree | d25c90d3caca08a637537f119be500756ceaaeb7 /tools/perf/scripts/python/bin | |
| parent | 11b49d9bb63fab2f92223419a2492661e317e2ef (diff) | |
staging: most: hdm-dim2: Replace kzalloc with devm_kzalloc
Devm_ functions allocate memory that is released when a driver detaches.
Replace kzalloc with devm_kzalloc and remove corresponding
kfrees from probe and remove functions of a platform
device.
Also, an unnecessary label has been removed.
Signed-off-by: Amitoj Kaur Chawla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions