serial: altera_uart: call iounmap() at driver remove
authorTobias Klauser <[email protected]>
Fri, 19 May 2017 11:59:20 +0000 (13:59 +0200)
committerGreg Kroah-Hartman <[email protected]>
Thu, 25 May 2017 12:36:37 +0000 (14:36 +0200)
commit59fe2cc8b1c32dd139da80fc8222b5b3290b7a09
tree9c4cf30a68546c3f626d018607c9be76f2715c74
parent6df765dca378bddf994cfd2044acafa501bd800f
serial: altera_uart: call iounmap() at driver remove

The driver calls ioremap() in the probe function but doesn't call
iounmap() in the remove function correspondingly. Do so now.

Follow commit 5c9d6abed9e0 ("serial: altera_jtaguart: adding iounmap()")

Cc: Alexey Khoroshilov <[email protected]>
Signed-off-by: Tobias Klauser <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/tty/serial/altera_uart.c