Messages in this thread Patch in this message | | | Date | Fri, 26 Nov 2021 16:58:22 +0100 (CET) | From | Julia Lawall <> | Subject | [PATCH] dmaengine: tegra: fix platform_no_drv_owner.cocci warnings |
| |
From: kernel test robot <lkp@intel.com>
No need to set .owner here. The core will do it.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
CC: Akhil R <akhilrajeev@nvidia.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: kernel test robot <lkp@intel.com> Signed-off-by: Julia Lawall <julia.lawall@inria.fr> ---
url: https://github.com/0day-ci/linux/commits/Akhil-R/Add-NVIDIA-Tegra-GPC-DMA-driver/20211122-173019 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next :::::: branch date: 29 hours ago :::::: commit date: 29 hours ago
tegra186-gpc-dma.c | 1 - 1 file changed, 1 deletion(-)
--- a/drivers/dma/tegra186-gpc-dma.c +++ b/drivers/dma/tegra186-gpc-dma.c @@ -1268,7 +1268,6 @@ static const struct __maybe_unused dev_p static struct platform_driver tegra_dmac_driver = { .driver = { .name = "tegra-gpcdma", - .owner = THIS_MODULE, .pm = &tegra_dma_dev_pm_ops, .of_match_table = tegra_dma_of_match, },
| |