diff options
| author | Alexandru Ardelean <[email protected]> | 2020-11-18 22:40:22 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2020-11-18 23:18:22 -0800 |
| commit | 41d7d26b8fb26e7e8056c1a3b6cf358d40cb367a (patch) | |
| tree | d6457eb116e70864ed5715f7c574d3b3313f8f93 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | c6c746508981f22ffa754e0c8fcee00da6923b9e (diff) | |
Input: adp5589-keys - use devm_kzalloc() to allocate the kpad object
This removes the need to manually free the kpad object and cleans up some
exit/error paths. The error path cleanup should reduce the risk of any
memory leaks with this object.
Signed-off-by: Alexandru Ardelean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions