summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-31 10:44:02 +0200
committerMichael S. Tsirkin <mst@redhat.com>2024-05-22 14:31:17 +0200
commit7249ad5a71bf36cc324b5c6af7dc932e31c3adfd (patch)
tree6bd89e4fb7c72f41fd00b333adcf8bbcbd5488d1 /drivers/misc
parentiommu: virtio: drop owner assignment (diff)
downloadlinux-7249ad5a71bf36cc324b5c6af7dc932e31c3adfd.tar.xz
linux-7249ad5a71bf36cc324b5c6af7dc932e31c3adfd.zip
misc: nsm: drop owner assignment
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/nsm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/nsm.c b/drivers/misc/nsm.c
index 0eaa3b4484bd..ef7b32742340 100644
--- a/drivers/misc/nsm.c
+++ b/drivers/misc/nsm.c
@@ -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,