diff options
author | 2020-11-19 17:49:02 +0200 | |
---|---|---|
committer | 2020-12-09 19:59:00 +0100 | |
commit | d57801c45f53e3da999e2a0beb932717fe335c41 (patch) | |
tree | f5239bccdeb6a0df8fde44672e95951d0b56d2a3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | uio: uio_aec: use devm_kzalloc() for uio_info object (diff) | |
download | wireguard-linux-d57801c45f53e3da999e2a0beb932717fe335c41.tar.xz wireguard-linux-d57801c45f53e3da999e2a0beb932717fe335c41.zip |
uio: uio_fsl_elbc_gpcm: use device-managed allocators
This change moves all the simple allocations to use device-managed
allocator functions. This way their life-time is tied to the
platform_device object, so when this gets free'd these allocations also get
cleaned up.
The final effect is that error & exit paths get cleaned up a bit.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20201119154903.82099-3-alexandru.ardelean@analog.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions