]> git.baikalelectronics.ru Git - kernel.git/commit
serial: stm32: use devm_platform_get_and_ioremap_resource()
authorTang Bin <tangbin@cmss.chinamobile.com>
Sat, 14 Aug 2021 13:14:18 +0000 (21:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Aug 2021 16:53:15 +0000 (18:53 +0200)
commit2a10835581d1a621282cede0228f7815c7e390fc
treee58b6b6e099b1a45a448c3ebc29aba91a47bcc1d
parent2fe16e0f45896c0853893243201e22362d433c33
serial: stm32: use devm_platform_get_and_ioremap_resource()

Use devm_platform_get_and_ioremap_resource() to simplify code.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20210814131418.13608-1-tangbin@cmss.chinamobile.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c