[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220712032649.98909-2-jiapeng.chong@linux.alibaba.com>
Date: Tue, 12 Jul 2022 11:26:49 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: thierry.reding@...il.com
Cc: jonathanh@...dia.com, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH 2/2] soc/tegra: cbb: fix platform_no_drv_owner.cocci warnings
Remove .owner field if calls are used which set it automatically.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
./drivers/soc/tegra/cbb/tegra234-cbb.c:1093:3-8: No need to set .owner here. The core will do it.
Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
drivers/soc/tegra/cbb/tegra234-cbb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/soc/tegra/cbb/tegra234-cbb.c b/drivers/soc/tegra/cbb/tegra234-cbb.c
index 8bae8166732c..3528f9e15d5c 100644
--- a/drivers/soc/tegra/cbb/tegra234-cbb.c
+++ b/drivers/soc/tegra/cbb/tegra234-cbb.c
@@ -1090,7 +1090,6 @@ static struct platform_driver tegra234_cbb_driver = {
.probe = tegra234_cbb_probe,
.remove = tegra234_cbb_remove,
.driver = {
- .owner = THIS_MODULE,
.name = "tegra234-cbb",
.of_match_table = tegra234_cbb_dt_ids,
.acpi_match_table = tegra241_cbb_acpi_ids,
--
2.20.1.7.g153144c
Powered by blists - more mailing lists