diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2020-03-06 18:18:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-18 12:34:10 +0100 |
commit | eff1dd87fae2448f02f368ac6ed6215ea1d447ac (patch) | |
tree | d963655aa11bf07dc15fac6b7f092ec1534a16dd /init | |
parent | 86a78b1cfc78a6378c4ff3b30f822899c066dca5 (diff) | |
download | linux-stable-eff1dd87fae2448f02f368ac6ed6215ea1d447ac.tar.gz linux-stable-eff1dd87fae2448f02f368ac6ed6215ea1d447ac.tar.bz2 linux-stable-eff1dd87fae2448f02f368ac6ed6215ea1d447ac.zip |
uio: uio_pdrv_genirq: use new devm_uio_register_device() function
This change makes use of the new devm_uio_register_device() initializer.
This cleans up the exit path quite nicely, and removes the remove function
of the driver.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20200306161853.25368-2-alexandru.ardelean@analog.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions