serial: altera_jtaguart: adding iounmap()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 12 May 2017 21:36:22 +0000 (00:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 14:43:55 +0000 (16:43 +0200)
commit5c9d6abed9e0a061de252a53ab687a1171502e81
tree1d85516181a4b59f4a31b8484071d55a19c5429b
parent2c0ac5b48a3586f612b85755b041ed7733dc8e6b
serial: altera_jtaguart: adding iounmap()

The driver does ioremap(port->mapbase, ALTERA_JTAGUART_SIZE),
but there is no any iounmap().

Found by Linux Driver Verification project (linuxtesting.org).

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