Thread (38 messages) 38 messages, 9 authors, 2024-04-25
STALE777d

[PATCH v2 03/25] virtio: input: drop owner assignment

From: Krzysztof Kozlowski <hidden>
Date: 2024-03-31 08:44:43
Also in: alsa-devel, dri-devel, kvm, linux-block, linux-bluetooth, linux-crypto, linux-doc, linux-fsdevel, linux-gpio, linux-iommu, linux-remoteproc, linux-scsi, linux-sound, linux-um, linux-wireless, lkml, nvdimm, v9fs, virtualization
Subsystem: the rest, virtio core, virtio input driver · Maintainers: Linus Torvalds, "Michael S. Tsirkin", Jason Wang, Gerd Hoffmann

virtio core already sets the .owner, so driver does not need to.

Signed-off-by: Krzysztof Kozlowski <redacted>

---

Changes in v2:
1. New patch
---
 drivers/virtio/virtio_input.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/virtio/virtio_input.c b/drivers/virtio/virtio_input.c
index 3aa46703872d..1a730d6c0b55 100644
--- a/drivers/virtio/virtio_input.c
+++ b/drivers/virtio/virtio_input.c
@@ -394,7 +394,6 @@ static const struct virtio_device_id id_table[] = {
 
 static struct virtio_driver virtio_input_driver = {
 	.driver.name         = KBUILD_MODNAME,
-	.driver.owner        = THIS_MODULE,
 	.feature_table       = features,
 	.feature_table_size  = ARRAY_SIZE(features),
 	.id_table            = id_table,
-- 
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help