]> git.baikalelectronics.ru Git - kernel.git/commit
serial: altera_uart: call iounmap() at driver remove
authorTobias Klauser <tklauser@distanz.ch>
Fri, 19 May 2017 11:59:20 +0000 (13:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 12:36:37 +0000 (14:36 +0200)
commit3cb475c25ee7d62001a135e6681786cc3dcf3748
tree9c4cf30a68546c3f626d018607c9be76f2715c74
parent38c6be2829cb2ec8b4e17fd74778c4fd98fb5b9c
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 2cacc1951c54 ("serial: altera_jtaguart: adding iounmap()")

Cc: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/altera_uart.c