tty: serial: meson: Use devm_ioremap_resource to get register mapped memory
authorYu Tu <yu.tu@amlogic.com>
Fri, 25 Feb 2022 07:39:18 +0000 (15:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Feb 2022 09:03:20 +0000 (10:03 +0100)
commit6436dd8f9b25ea756b27ca0ec10d017ea51b42e2
tree7205f7b43af8662313c00e225d38f2f0f2d339fb
parent841f913e770f3cfb69023f00557e37cb23230861
tty: serial: meson: Use devm_ioremap_resource to get register mapped memory

Replace devm_request_mem_region and devm_ioremap with
devm_ioremap_resource to make the code cleaner.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Yu Tu <yu.tu@amlogic.com>
Link: https://lore.kernel.org/r/20220225073922.3947-3-yu.tu@amlogic.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/meson_uart.c