Messages in this thread Patch in this message | | | Date | Wed, 19 Jan 2022 14:00:57 +0800 | From | kernel test robot <> | Subject | [PATCH] nvdla: fix platform_no_drv_owner.cocci warnings |
| |
From: kernel test robot <lkp@intel.com>
drivers/nvdla/nvdla_core_callbacks.c:437:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: kernel test robot <lkp@intel.com> ---
tree: https://github.com/esmil/linux visionfive head: e46c3a7e373e6faa03399f1a41c29cf7546c37cb commit: 72b025fa3bbfeb4e6df66d1753182be5d8ac2374 [73/80] nvdla: Support compilation as module :::::: branch date: 6 hours ago :::::: commit date: 9 days ago
nvdla_core_callbacks.c | 1 - 1 file changed, 1 deletion(-)
--- a/drivers/nvdla/nvdla_core_callbacks.c +++ b/drivers/nvdla/nvdla_core_callbacks.c @@ -434,7 +434,6 @@ static struct platform_driver nvdla_driv .probe = nvdla_probe, .remove = __exit_p(nvdla_remove), .driver = { - .owner = THIS_MODULE, .name = "NVDLA", .of_match_table = of_match_ptr(nvdla_of_match), },
| |