uio: uio_aec: Use pci_iounmap instead of iounmap
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 9 May 2021 07:53:21 +0000 (09:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 11:39:47 +0000 (13:39 +0200)
commitdccdb2fcd239d5fe281e7dd371a75e578f535a5b
tree33f9a3f1d22b892c436dc0eb211b7be8965b91d3
parent17e336db2b8ac5a91036184771655abe2d158273
uio: uio_aec: Use pci_iounmap instead of iounmap

'pci_iomap()' is used in the probe and 'pci_iounmap()' in the error
handling path of the probe.
So keep things consistent and use 'pci_iounmap()' also in the remove
function.

Fixes: 1bafeb378e91 ("uio: add the uio_aec driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/f6b2a09a45658e8ef552aa34f0b8615dc1c35838.1620546705.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_aec.c