472a65feca0c5408c23cc2356276901d3d92e349
[openwrt/staging/blocktrron.git] /
1 From 23fd602f21953c03c0714257d36685cd6b486f04 Mon Sep 17 00:00:00 2001
2 From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
3 Date: Tue, 30 Apr 2024 09:49:13 +0100
4 Subject: [PATCH] nvmem: layouts: sl28vpd: drop driver owner initialization
5
6 Core in nvmem_layout_driver_register() already sets the .owner, so
7 driver does not need to.
8
9 Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
10 Reviewed-by: Michael Walle <mwalle@kernel.org>
11 Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
12 Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Link: https://lore.kernel.org/r/20240430084921.33387-4-srinivas.kandagatla@linaro.org
14 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 ---
16 drivers/nvmem/layouts/sl28vpd.c | 1 -
17 1 file changed, 1 deletion(-)
18
19 --- a/drivers/nvmem/layouts/sl28vpd.c
20 +++ b/drivers/nvmem/layouts/sl28vpd.c
21 @@ -156,7 +156,6 @@ MODULE_DEVICE_TABLE(of, sl28vpd_of_match
22
23 static struct nvmem_layout_driver sl28vpd_layout = {
24 .driver = {
25 - .owner = THIS_MODULE,
26 .name = "kontron-sl28vpd-layout",
27 .of_match_table = sl28vpd_of_match_table,
28 },