Skip to content
Commit 3d881e32 authored by Tang Bin's avatar Tang Bin Committed by Greg Kroah-Hartman
Browse files

serial: stm32: use devm_platform_get_and_ioremap_resource()



Use devm_platform_get_and_ioremap_resource() to simplify code.

Signed-off-by: default avatarZhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20210814131418.13608-1-tangbin@cmss.chinamobile.com
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 59bd4eed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment