summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-11-19 18:49:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 21:59:00 +0300
commitd57801c45f53e3da999e2a0beb932717fe335c41 (patch)
treef5239bccdeb6a0df8fde44672e95951d0b56d2a3 /drivers/md
parent16d546c42db5d9ea91e4d9d3bde5e80eb0cf6bf8 (diff)
downloadlinux-d57801c45f53e3da999e2a0beb932717fe335c41.tar.xz
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 'drivers/md')
0 files changed, 0 insertions, 0 deletions