diff options
| author | 2020-11-20 10:42:06 +0200 | |
|---|---|---|
| committer | 2020-12-09 19:58:54 +0100 | |
| commit | 6b76c98b96bd619092a89da1c1e25e5cb0ccc46a (patch) | |
| tree | 45f475315918fcbd5ba5a2767cbaf8e3574560b6 /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | uio: uio_sercos3: use device-managed functions for simple allocs (diff) | |
| download | linux-dev-6b76c98b96bd619092a89da1c1e25e5cb0ccc46a.tar.xz linux-dev-6b76c98b96bd619092a89da1c1e25e5cb0ccc46a.zip | |
uio: uio_mf624: use devm_kzalloc() for uio_info object
This change uses the devm_kzalloc() function to tie the life-time of the
uio_info object to PCI device. This cleans up the exit & error path a bit.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20201120084207.50736-2-alexandru.ardelean@analog.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
