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
6 Core in nvmem_layout_driver_register() already sets the .owner, so
7 driver does not need to.
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>
16 drivers/nvmem/layouts/sl28vpd.c | 1 -
17 1 file changed, 1 deletion(-)
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
23 static struct nvmem_layout_driver sl28vpd_layout = {
25 - .owner = THIS_MODULE,
26 .name = "kontron-sl28vpd-layout",
27 .of_match_table = sl28vpd_of_match_table,