]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_mmio: add cleanup for virtio_mmio_remove
authorweiping zhang <zhangweiping@didichuxing.com>
Wed, 6 Dec 2017 13:59:32 +0000 (21:59 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 7 Dec 2017 16:30:50 +0000 (18:30 +0200)
commitddc8f1b1e4f740d2df2ebb8ef61b5cd9b4c9807e
treeb32d101076550c42ecf00a102a421bd107bdb900
parent92d5ecbabe00dc719f803f6147c52d10f1927153
virtio_mmio: add cleanup for virtio_mmio_remove

cleanup all resource allocated by virtio_mmio_probe.

Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
drivers/virtio/virtio_mmio.c