Skip to contentSkip to conversation

dmaengine: tegra: fix platform_no_drv_owner.cocci warnings

PATCH New Julia Lawall 1 participant 1 message Nov 26, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

---

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_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,
 	},