diff mbox series

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

Message ID 20240327-b4-module-owner-acpi-v1-7-725241a2d224@linaro.org (mailing list archive)
State Superseded, archived
Headers show
Series ACPI: store owner from modules with acpi_bus_register_driver() | expand

Commit Message

Krzysztof Kozlowski March 27, 2024, 7:43 a.m. UTC
ACPI bus core already sets the .owner, so driver does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/platform/x86/dell/dell-rbtn.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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,
 };