summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-11-19 17:49:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 19:59:00 +0100
commitd57801c45f53e3da999e2a0beb932717fe335c41 (patch)
treef5239bccdeb6a0df8fde44672e95951d0b56d2a3 /.clang-format
parent16d546c42db5d9ea91e4d9d3bde5e80eb0cf6bf8 (diff)
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 '.clang-format')
0 files changed, 0 insertions, 0 deletions