diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2020-11-20 09:56:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-09 19:58:22 +0100 |
commit | 44dccc4a2bd10abfacd25b7d125fb5c3abbb263d (patch) | |
tree | 2eb415ab4b1c8f6db0b66ad96cb8701c8c50f22e /lib/packing.c | |
parent | 4849e0eda387931fe251fe956cbfddeee852dacf (diff) |
uio: uio_dmem_genirq: convert simple allocations to device-managed
This change converts the simple allocations in the driver to used
device-managed allocation functions.
This removes the error path entirely in the probe function, and reduces
some code in the remove function.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20201120075625.12272-1-alexandru.ardelean@analog.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/packing.c')
0 files changed, 0 insertions, 0 deletions