]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
hwrng: virtio: drop owner assignment
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 31 Mar 2024 08:43:55 +0000 (10:43 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 22 May 2024 12:31:16 +0000 (08:31 -0400)
virtio core already sets the .owner, so driver does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Message-Id: <20240331-module-owner-virtio-v2-8-98f04bfaf46a@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/char/hw_random/virtio-rng.c

index 7a4b45393acb4bd7505a9312d0806d514f99b8bb..dd998f4fe4f234367ef051fa12c4f326b0d8fd3e 100644 (file)
@@ -245,7 +245,6 @@ static const struct virtio_device_id id_table[] = {
 
 static struct virtio_driver virtio_rng_driver = {
        .driver.name =  KBUILD_MODNAME,
-       .driver.owner = THIS_MODULE,
        .id_table =     id_table,
        .probe =        virtrng_probe,
        .remove =       virtrng_remove,