summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2024-07-08 09:48:14 +0200
committerMichael S. Tsirkin <mst@redhat.com>2024-07-17 11:20:58 +0200
commit6c85d6b653caeba2ef982925703cbb4f2b3b3163 (patch)
tree9d9324f7d438ef8acb763f601228821cacfb7558 /drivers/gpio
parentvirtio: remove unused virtio_find_vqs() and virtio_find_vqs_ctx() helpers (diff)
downloadlinux-6c85d6b653caeba2ef982925703cbb4f2b3b3163.tar.xz
linux-6c85d6b653caeba2ef982925703cbb4f2b3b3163.zip
virtio: rename virtio_find_vqs_info() to virtio_find_vqs()
Since the original virtio_find_vqs() is no longer present, rename virtio_find_vqs_info() back to virtio_find_vqs(). Signed-off-by: Jiri Pirko <jiri@nvidia.com> Message-Id: <20240708074814.1739223-20-jiri@resnulli.us> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-virtio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-virtio.c b/drivers/gpio/gpio-virtio.c
index d11464420797..93544ff62513 100644
--- a/drivers/gpio/gpio-virtio.c
+++ b/drivers/gpio/gpio-virtio.c
@@ -464,8 +464,8 @@ static int virtio_gpio_alloc_vqs(struct virtio_gpio *vgpio,
struct virtqueue *vqs[2] = { NULL, NULL };
int ret;
- ret = virtio_find_vqs_info(vdev, vgpio->irq_lines ? 2 : 1, vqs,
- vqs_info, NULL);
+ ret = virtio_find_vqs(vdev, vgpio->irq_lines ? 2 : 1, vqs,
+ vqs_info, NULL);
if (ret) {
dev_err(&vdev->dev, "failed to find vqs: %d\n", ret);
return ret;