aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/nsm.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-03-31 08:44:02 +0000
committerMichael S. Tsirkin <[email protected]>2024-05-22 12:31:17 +0000
commit7249ad5a71bf36cc324b5c6af7dc932e31c3adfd (patch)
tree6bd89e4fb7c72f41fd00b333adcf8bbcbd5488d1 /drivers/misc/nsm.c
parentiommu: virtio: drop owner assignment (diff)
downloadkernel-7249ad5a71bf36cc324b5c6af7dc932e31c3adfd.tar.gz
kernel-7249ad5a71bf36cc324b5c6af7dc932e31c3adfd.zip
misc: nsm: drop owner assignment
virtio core already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Alexander Graf <[email protected]>
Diffstat (limited to 'drivers/misc/nsm.c')
-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,