summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-30 20:49:48 +0100
committerTzung-Bi Shih <tzungbi@kernel.org>2024-04-03 09:09:26 +0200
commit7f20f21c22aa22e488530f66bf4fc168e427f5bd (patch)
treebcc5c46aca16a6dbbb39bd2965201f5801a91a53
parentfirmware: coreboot: store owner from modules with coreboot_driver_register() (diff)
downloadlinux-7f20f21c22aa22e488530f66bf4fc168e427f5bd.tar.xz
linux-7f20f21c22aa22e488530f66bf4fc168e427f5bd.zip
firmware: google: cbmem: drop driver owner initialization
Core in coreboot_driver_register() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240330-module-owner-coreboot-v1-2-ddba098b6dcf@linaro.org Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
-rw-r--r--drivers/firmware/google/cbmem.c1
1 files changed, 0 insertions, 1 deletions
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,