diff options
| author | Laurentiu Tudor <[email protected]> | 2017-02-07 09:43:47 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-02-09 13:26:01 +0100 |
| commit | dc341c4ec2bf7c122f818f881eb2a1d5d6e8e9c9 (patch) | |
| tree | 92b6051a6cd2fc5f0d42d925547da43d53a0fb6d /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 95b3523b723e5354a375f4d185c74970322c7bf5 (diff) | |
staging: fsl-mc: don't use devres api for refcounted objects
Mixing two memory management systems, in this case
managed device resource api and refcounted objects
is a bad idea. Lifetime of an object is controlled
by its refcount so allocating it with other apis
that have their own lifetime control is not ok.
Drop devm_*() apis in favor of plain allocations.
Signed-off-by: Laurentiu Tudor <[email protected]>
Acked-by: Stuart Yoder <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions