Messages in this thread Patch in this message | | | From | Jiapeng Chong <> | Subject | [PATCH 2/2] soc/tegra: cbb: fix platform_no_drv_owner.cocci warnings | Date | Tue, 12 Jul 2022 11:26:49 +0800 |
| |
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@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.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
| |