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

[PATCH 15/19] platform/x86/toshiba_haps: drop owner assignment

From: Krzysztof Kozlowski <hidden>
Date: 2024-03-27 07:45:39
Also in: chrome-platform, linux-acpi, linux-input, lkml, platform-driver-x86
Subsystem: the rest, toshiba hdd active protection sensor driver, x86 platform drivers · Maintainers: Linus Torvalds, Azael Avalos, 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/toshiba_haps.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/platform/x86/toshiba_haps.c b/drivers/platform/x86/toshiba_haps.c
index 8c9f76286b08..03dfddeee0c0 100644
--- a/drivers/platform/x86/toshiba_haps.c
+++ b/drivers/platform/x86/toshiba_haps.c
@@ -251,7 +251,6 @@ MODULE_DEVICE_TABLE(acpi, haps_device_ids);
 
 static struct acpi_driver toshiba_haps_driver = {
 	.name = "Toshiba HAPS",
-	.owner = THIS_MODULE,
 	.ids = haps_device_ids,
 	.flags = ACPI_DRIVER_ALL_NOTIFY_EVENTS,
 	.ops = {
-- 
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