Skip to content
Commit c64eb62c authored by Yangtao Li's avatar Yangtao Li Committed by Michael S. Tsirkin
Browse files

virtio-mmio: convert to devm_platform_ioremap_resource



Use devm_platform_ioremap_resource() to simplify code, which
contains platform_get_resource, devm_request_mem_region and
devm_ioremap.

Signed-off-by: default avatarYangtao Li <tiny.windzz@gmail.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent d5226fa6
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