diff mbox series

[2/2] firmware: google: cbmem: drop driver owner initialization

Message ID 20240330-module-owner-coreboot-v1-2-ddba098b6dcf@linaro.org (mailing list archive)
State Accepted
Commit 7f20f21c22aa22e488530f66bf4fc168e427f5bd
Headers show
Series firmware: coreboot: store owner from modules with coreboot_driver_register() | expand

Commit Message

Krzysztof Kozlowski March 30, 2024, 7:49 p.m. UTC
Core in coreboot_driver_register() already sets the .owner, so driver
does not need to.

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

Patch

diff --git a/drivers/firmware/google/cbmem.c b/drivers/firmware/google/cbmem.c
index c2bffdc352a3..6f810d720f4d 100644
--- a/drivers/firmware/google/cbmem.c
+++ b/drivers/firmware/google/cbmem.c
@@ -124,7 +124,6 @@  static struct coreboot_driver cbmem_entry_driver = {
 	.probe = cbmem_entry_probe,
 	.drv = {
 		.name = "cbmem",
-		.owner = THIS_MODULE,
 		.dev_groups = dev_groups,
 	},
 	.id_table = cbmem_ids,