drm/virtio: drop owner assignment
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 31 Mar 2024 08:44:00 +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-13-98f04bfaf46a@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/gpu/drm/virtio/virtgpu_drv.c

index 9539aa2..188e126 100644 (file)
@@ -154,7 +154,6 @@ static struct virtio_driver virtio_gpu_driver = {
        .feature_table = features,
        .feature_table_size = ARRAY_SIZE(features),
        .driver.name = KBUILD_MODNAME,
-       .driver.owner = THIS_MODULE,
        .id_table = id_table,
        .probe = virtio_gpu_probe,
        .remove = virtio_gpu_remove,