]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: ucc_uart: replace qe_io{read,write}* wrappers by generic io{read,write}*
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 6 Mar 2021 18:09:30 +0000 (18:09 +0000)
committerLi Yang <leoyang.li@nxp.com>
Tue, 6 Apr 2021 20:40:42 +0000 (15:40 -0500)
commitb0565d39a97e9d9c53d2887892f8cac6bac39fca
treee691e49bf5aa137d728a966dbfc9f6c20811db08
parent13c5b452640912f4debee691dbd96065a2195cb7
tty: serial: ucc_uart: replace qe_io{read,write}* wrappers by generic io{read,write}*

Commit 0b44331fa71d ("soc: fsl: qe: introduce qe_io{read,write}*
wrappers") added specific I/O accessors for qe because at that
time ioread/iowrite functions were sub-optimal on powerpc/32
compared to the architecture specific in_/out_ IO accessors.

But as ioread/iowrite accessors are now equivalent since
commit 41050bacd67f ("powerpc: inline iomap accessors"),
use them in order to allow removal of the qe specific ones.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/tty/serial/ucc_uart.c