diff mbox series

dmaengine: tegra: fix platform_no_drv_owner.cocci warnings

Message ID alpine.DEB.2.22.394.2111261655450.18994@hadrien (mailing list archive)
State Not Applicable
Headers show
Series dmaengine: tegra: fix platform_no_drv_owner.cocci warnings | expand

Commit Message

Julia Lawall Nov. 26, 2021, 3:58 p.m. UTC
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(-)
diff mbox series

Patch

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