serial: meson: remove use of flag UPF_IOREMAP
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 19 Apr 2017 20:17:50 +0000 (22:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 14:36:13 +0000 (16:36 +0200)
commit1b1ecaa69c4f90e79f1083778b2cf50eba2573c2
tree4ed2bfaaa73227d7016a06e0e43248ac9c8442ee
parentff3b9cad7d630980987bc46853b2dae75143dc75
serial: meson: remove use of flag UPF_IOREMAP

Flag UPF_IOREMAP is used by the 8250 subsystem only, it's not used
by the serial core. Therefore I don't see any benefit in using it
here.

In addition fix the order of calls in meson_uart_release_port.
Unmapping needs to be done first, reversing call order in
meson_uart_request_port.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/meson_uart.c