]> 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)
commitd1c4da2a4608a3646770b5482347d58de0431d0f
tree9c4cf30a68546c3f626d018607c9be76f2715c74
parenta958e54552fe3abc0bf5bb7a5eb96a3baff5246a
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 fcf895fad408 ("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