]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
misc: nsm: drop owner assignment
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 31 Mar 2024 08:44:02 +0000 (10:44 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 22 May 2024 12:31:17 +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-15-98f04bfaf46a@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Alexander Graf <graf@amazon.com>
drivers/misc/nsm.c

index 0eaa3b4484bda7e72f0a2be9435becb7fbb0c88f..ef7b32742340999add6533472f0fe00a1a812742 100644 (file)
@@ -494,7 +494,6 @@ static struct virtio_driver virtio_nsm_driver = {
        .feature_table_legacy      = 0,
        .feature_table_size_legacy = 0,
        .driver.name               = KBUILD_MODNAME,
-       .driver.owner              = THIS_MODULE,
        .id_table                  = id_table,
        .probe                     = nsm_device_probe,
        .remove                    = nsm_device_remove,