uio/uio_pci_generic: use device-managed function equivalents
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Wed, 11 Nov 2020 11:38:28 +0000 (13:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Nov 2020 23:24:45 +0000 (00:24 +0100)
commitef84928cff589c6b42e16b3ef7d2d95469128c80
tree61a8e24a0499f447b0e6750f6bdb9b96105ad69a
parent667aef00f3f32eb10b959cb7f3bbd28e87049a4f
uio/uio_pci_generic: use device-managed function equivalents

This driver can be easily converted to use the device-managed allocator
function and the PCI managed enable function.

With these conversions the probe error paths are no longer needed and
neither is the remove function.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20201111113828.64992-1-alexandru.ardelean@analog.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_pci_generic.c