Merge tag 'efi-urgent-for-v5.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / rpmsg / virtio_rpmsg_bus.c
index 9c112aa..ac764e0 100644 (file)
@@ -547,7 +547,7 @@ static void rpmsg_downref_sleepers(struct virtproc_info *vrp)
  * should use the appropriate rpmsg_{try}send{to, _offchannel} API
  * (see include/linux/rpmsg.h).
  *
- * Returns 0 on success and an appropriate error value on failure.
+ * Return: 0 on success and an appropriate error value on failure.
  */
 static int rpmsg_send_offchannel_raw(struct rpmsg_device *rpdev,
                                     u32 src, u32 dst,
@@ -1024,7 +1024,7 @@ static void rpmsg_remove(struct virtio_device *vdev)
        size_t total_buf_space = vrp->num_bufs * vrp->buf_size;
        int ret;
 
-       vdev->config->reset(vdev);
+       virtio_reset_device(vdev);
 
        ret = device_for_each_child(&vdev->dev, NULL, rpmsg_remove_device);
        if (ret)