diff options
| author | Laurentiu Tudor <laurentiu.tudor@nxp.com> | 2017-02-07 18:43:47 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-09 15:26:01 +0300 |
| commit | dc341c4ec2bf7c122f818f881eb2a1d5d6e8e9c9 (patch) | |
| tree | 92b6051a6cd2fc5f0d42d925547da43d53a0fb6d /scripts/patch-kernel | |
| parent | 95b3523b723e5354a375f4d185c74970322c7bf5 (diff) | |
| download | linux-dc341c4ec2bf7c122f818f881eb2a1d5d6e8e9c9.tar.xz | |
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
