virtio/s390: use dev_to_virtio
authorGeliang Tang <geliangtang@163.com>
Tue, 1 Mar 2016 12:44:52 +0000 (13:44 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 2 Mar 2016 16:08:58 +0000 (18:08 +0200)
commit15e90f526bb4e1f9d9b3ecaa8e20bd608bd4dac7
treeeece763127e112e0079162ee0375fcc7a9b6a148
parent80f7d0301e7913f704d3505722f806717c61dff5
virtio/s390: use dev_to_virtio

Use dev_to_virtio() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Message-Id: <912bf59bd3a48f2d4d4994681e898dc084fe29d3.1451484163.git.geliangtang@163.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/s390/virtio/virtio_ccw.c