public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Rongjun Ying <rongjun.ying@csr.com>
Cc: kbuild-all@01.org, Barry Song <Barry.Song@csr.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.de>,
	alsa-devel@alsa-project.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH] ASoC: sirf: atlas7: fix platform_no_drv_owner.cocci warnings
Date: Sun, 8 Feb 2015 06:58:30 +0800	[thread overview]
Message-ID: <20150207225830.GA6510@waimea> (raw)
In-Reply-To: <201502080606.gsrhSC8Q%fengguang.wu@intel.com>

sound/soc/sirf/atlas7-iacc.c:625: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: Rongjun Ying <rongjun.ying@csr.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 atlas7-iacc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/sirf/atlas7-iacc.c
+++ b/sound/soc/sirf/atlas7-iacc.c
@@ -622,7 +622,6 @@ static const struct dev_pm_ops atlas7_ia
 static struct platform_driver atlas7_iacc_driver = {
 	.driver = {
 		.name = "sirf-atlas7-iacc",
-		.owner = THIS_MODULE,
 		.of_match_table = atlas7_iacc_of_match,
 		.pm = &atlas7_iacc_pm_ops,
 	},

           reply	other threads:[~2015-02-07 22:59 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <201502080606.gsrhSC8Q%fengguang.wu@intel.com>]

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=20150207225830.GA6510@waimea \
    --to=fengguang.wu@intel.com \
    --cc=Barry.Song@csr.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=kbuild-all@01.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=rongjun.ying@csr.com \
    --cc=tiwai@suse.de \
    /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