diff options
author | 2017-02-07 09:43:47 -0600 | |
---|---|---|
committer | 2017-02-09 13:26:01 +0100 | |
commit | dc341c4ec2bf7c122f818f881eb2a1d5d6e8e9c9 (patch) | |
tree | 92b6051a6cd2fc5f0d42d925547da43d53a0fb6d /tools/perf/scripts/python/stackcollapse.py | |
parent | staging: fsl-mc: add device release callback (diff) | |
download | wireguard-linux-dc341c4ec2bf7c122f818f881eb2a1d5d6e8e9c9.tar.xz wireguard-linux-dc341c4ec2bf7c122f818f881eb2a1d5d6e8e9c9.zip |
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 <laurentiu.tudor@nxp.com>
Acked-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions