Thread (27 messages) 27 messages, 6 authors, 2024-03-28
STALE845d

[PATCH 07/19] platform/x86/dell: drop owner assignment

From: Krzysztof Kozlowski <hidden>
Date: 2024-03-27 07:45:14
Also in: chrome-platform, linux-acpi, linux-input, lkml, platform-driver-x86
Subsystem: dell laptop rbtn driver, the rest, x86 platform drivers · Maintainers: Pali Rohár, Linus Torvalds, Hans de Goede, Ilpo Järvinen

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

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 drivers/platform/x86/dell/dell-rbtn.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/platform/x86/dell/dell-rbtn.c b/drivers/platform/x86/dell/dell-rbtn.c
index c8fcb537fd65..a415c432d4c3 100644
--- a/drivers/platform/x86/dell/dell-rbtn.c
+++ b/drivers/platform/x86/dell/dell-rbtn.c
@@ -295,7 +295,6 @@ static struct acpi_driver rbtn_driver = {
 		.remove = rbtn_remove,
 		.notify = rbtn_notify,
 	},
-	.owner = THIS_MODULE,
 };
 
 
-- 
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