dmaengine: tegra: fix platform_no_drv_owner.cocci warnings
Subsystems (3)
PATCH 1/1 dmaengine: tegra: fix platform_no_drv_owner.cocci warnings
From: kernel test robot <[email protected]>
No need to set .owner here. The core will do it.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
CC Akhil R <[email protected]>
Reported-by kernel test robot <[email protected]>
Signed-off-by kernel test robot <[email protected]>
Signed-off-by Julia Lawall <[email protected]>
---
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(-)
drivers/dma/tegra186-gpc-dma.c +0 -1
@@ -1268,7 +1268,6 @@ static const struct __maybe_unused dev_pstatic 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, },