mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
|
From 21833338eccb91194fec6ba7548d9c454824eca0 Mon Sep 17 00:00:00 2001
|
||
|
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
||
|
Date: Tue, 30 Apr 2024 09:49:12 +0100
|
||
|
Subject: [PATCH] nvmem: layouts: onie-tlv: drop driver owner initialization
|
||
|
|
||
|
Core in nvmem_layout_driver_register() already sets the .owner, so
|
||
|
driver does not need to.
|
||
|
|
||
|
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
||
|
Reviewed-by: Michael Walle <mwalle@kernel.org>
|
||
|
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
|
||
|
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
||
|
Link: https://lore.kernel.org/r/20240430084921.33387-3-srinivas.kandagatla@linaro.org
|
||
|
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||
|
---
|
||
|
drivers/nvmem/layouts/onie-tlv.c | 1 -
|
||
|
1 file changed, 1 deletion(-)
|
||
|
|
||
|
--- a/drivers/nvmem/layouts/onie-tlv.c
|
||
|
+++ b/drivers/nvmem/layouts/onie-tlv.c
|
||
|
@@ -247,7 +247,6 @@ MODULE_DEVICE_TABLE(of, onie_tlv_of_matc
|
||
|
|
||
|
static struct nvmem_layout_driver onie_tlv_layout = {
|
||
|
.driver = {
|
||
|
- .owner = THIS_MODULE,
|
||
|
.name = "onie-tlv-layout",
|
||
|
.of_match_table = onie_tlv_of_match_table,
|
||
|
},
|