]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-mmio: convert to devm_platform_ioremap_resource
authorYangtao Li <tiny.windzz@gmail.com>
Sun, 22 Dec 2019 19:08:39 +0000 (19:08 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 6 Feb 2020 08:40:26 +0000 (03:40 -0500)
commit0cbd3400f9a24289c389a02c67f6fe40213038b8
treeee73c3628ad2be5ddb8844b1e94248b89bf0d083
parentf5033ec79b00ab87091d46b54e6d738c645576d0
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: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_mmio.c