virito-pci-modern: rename map_capability() to vp_modern_map_capability()
authorJason Wang <jasowang@redhat.com>
Mon, 4 Jan 2021 06:54:59 +0000 (14:54 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Feb 2021 12:52:58 +0000 (07:52 -0500)
commit8000a6b602a4aec0f54a9131623a407d6d44a605
treede288c1b00ae45deb26752f1748966c59e1363e5
parent1bfd84134c885799b8ac94766bff600b1f963ecf
virito-pci-modern: rename map_capability() to vp_modern_map_capability()

To ease the split, map_capability() was renamed to
vp_modern_map_capability(). While at it, add the comments for the
arguments and switch to use virtio_pci_modern_device as the first
parameter.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210104065503.199631-16-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_modern.c