The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Yuan Yao <yao.yuan@freescale.com>
Cc: kbuild-all@01.org, vinod.koul@intel.com, robh+dt@kernel.org,
	dan.j.williams@intel.com, mark.rutland@arm.com,
	linux@armlinux.org.uk, shawnguo@kernel.org, leoyang.li@nxp.com,
	dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, Yuan Yao <yao.yuan@nxp.com>
Subject: [PATCH] dma: fix platform_no_drv_owner.cocci warnings
Date: Tue, 23 Aug 2016 20:18:04 +0800	[thread overview]
Message-ID: <20160823121804.GA80500@lkp-sb04> (raw)
In-Reply-To: <1471502328-28305-2-git-send-email-yao.yuan@freescale.com>

drivers/dma/qoriq-qdma.c:879: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

CC: Yuan Yao <yao.yuan@nxp.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 qoriq-qdma.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/dma/qoriq-qdma.c
+++ b/drivers/dma/qoriq-qdma.c
@@ -876,7 +876,6 @@ MODULE_DEVICE_TABLE(of, fsl_qdma_dt_ids)
 static struct platform_driver fsl_qdma_driver = {
 	.driver		= {
 		.name	= "fsl-qdma",
-		.owner  = THIS_MODULE,
 		.of_match_table = fsl_qdma_dt_ids,
 	},
 	.probe          = fsl_qdma_probe,

  parent reply	other threads:[~2016-08-23 12:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-18  6:38 [PATCH v1 0/5] dma: Add QorIQ qDMA engine driver support Yuan Yao
2016-08-18  6:38 ` [PATCH v1 1/5] " Yuan Yao
2016-08-18  9:16   ` Russell King - ARM Linux
2016-08-24  3:39     ` Yao Yuan
2016-08-23 12:18   ` kbuild test robot
2016-08-23 12:18   ` kbuild test robot [this message]
2016-08-18  6:38 ` [PATCH v1 2/5] dma: Add device tree binding for QorIQ qDMA driver Yuan Yao
2016-08-18  6:38 ` [PATCH v1 3/5] MAINTAINERS: add maintainer entry for QorIQ QDMA driver Yuan Yao
2016-08-18  6:38 ` [PATCH v1 4/5] ARM: dts: ls1043a: add qDMA node Yuan Yao
2016-08-29  7:29   ` Alexander Stein
2016-08-29  7:34   ` Alexander Stein
2016-08-31  4:17     ` Yao Yuan
2016-08-18  6:38 ` [PATCH v1 5/5] ARM: dts: ls1021a: " Yuan Yao
  -- strict thread matches above, loose matches on Subject: below --
2015-10-30  4:34 [PATCH 1/2] dma: add Qualcomm Technologies HIDMA management driver kbuild test robot
2015-10-30  3:08 ` Sinan Kaya
2015-10-30  4:34   ` [PATCH] dma: fix platform_no_drv_owner.cocci warnings kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160823121804.GA80500@lkp-sb04 \
    --to=lkp@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=kbuild-all@01.org \
    --cc=leoyang.li@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.org \
    --cc=vinod.koul@intel.com \
    --cc=yao.yuan@freescale.com \
    --cc=yao.yuan@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox