summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTang Bin <tangbin@cmss.chinamobile.com>2021-02-22 08:57:24 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-03-14 11:37:35 +0300
commitda98b54d02981de5b07d8044b2a632bf6ba3ac45 (patch)
tree087a941704743b01582d9e5f00590c576d55f766 /include
parentf00bdce0455233a0b76dae6364442dca717a574c (diff)
downloadlinux-da98b54d02981de5b07d8044b2a632bf6ba3ac45.tar.xz
virtio-mmio: Use to_virtio_mmio_device() to simply code
The file virtio_mmio.c has defined the function to_virtio_mmio_device, so use it instead of container_of() to simply code. Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20210222055724.220-1-tangbin@cmss.chinamobile.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions