diff options
author | Amitoj Kaur Chawla <[email protected]> | 2016-02-23 01:52:33 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-03-11 22:09:09 -0800 |
commit | 0c566659237c910696c5187fd3edb3e5ef085af7 (patch) | |
tree | a4bb9fa3906da21737888663f1de3025d35cb81d /tools/perf/scripts/python/check-perf-trace.py | |
parent | 5084d7c66248394d3887805c7f13c5d274573bfd (diff) |
staging: vme: devices: 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, unnecessary labels have 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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions