Thread (37 messages) 37 messages, 9 authors, 2024-03-31
STALE833d

[PATCH 09/22] gpio: virtio: drop owner assignment

From: Krzysztof Kozlowski <hidden>
Date: 2024-03-27 12:45:03
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, netdev, nvdimm, v9fs
Subsystem: gpio subsystem, the rest, virtio gpio driver · Maintainers: Linus Walleij, Bartosz Golaszewski, Linus Torvalds, Enrico Weigelt, metux IT consult, Viresh Kumar

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

Signed-off-by: Krzysztof Kozlowski <redacted>

---

Depends on the first patch.
---
 drivers/gpio/gpio-virtio.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/gpio/gpio-virtio.c b/drivers/gpio/gpio-virtio.c
index fcc5e8c08973..9fae8e396c58 100644
--- a/drivers/gpio/gpio-virtio.c
+++ b/drivers/gpio/gpio-virtio.c
@@ -653,7 +653,6 @@ static struct virtio_driver virtio_gpio_driver = {
 	.remove			= virtio_gpio_remove,
 	.driver			= {
 		.name		= KBUILD_MODNAME,
-		.owner		= THIS_MODULE,
 	},
 };
 module_virtio_driver(virtio_gpio_driver);
-- 
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