All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Cc: alsa-devel@alsa-project.org, Takashi Iwai <tiwai@suse.de>,
	linux-kernel@vger.kernel.org, Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	kbuild-all@01.org
Subject: [PATCH] ASoC: sti-sas: fix platform_no_drv_owner.cocci warnings
Date: Sat, 11 Jul 2015 08:18:59 +0800	[thread overview]
Message-ID: <20150711001859.GA80357@roam> (raw)
In-Reply-To: <201507110850.cxqCNpZv%fengguang.wu@intel.com>

sound/soc/codecs/sti-sas.c:616: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: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 sti-sas.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/codecs/sti-sas.c
+++ b/sound/soc/codecs/sti-sas.c
@@ -613,7 +613,6 @@ static int sti_sas_driver_remove(struct
 static struct platform_driver sti_sas_platform_driver = {
 	.driver = {
 		.name = "sti-sas-codec",
-		.owner = THIS_MODULE,
 		.of_match_table = sti_sas_dev_match,
 	},
 	.probe = sti_sas_driver_probe,

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <fengguang.wu@intel.com>
To: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Cc: kbuild-all@01.org, Mark Brown <broonie@kernel.org>,
	alsa-devel@alsa-project.org, Liam Girdwood <lgirdwood@gmail.com>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] ASoC: sti-sas: fix platform_no_drv_owner.cocci warnings
Date: Sat, 11 Jul 2015 08:18:59 +0800	[thread overview]
Message-ID: <20150711001859.GA80357@roam> (raw)
In-Reply-To: <201507110850.cxqCNpZv%fengguang.wu@intel.com>

sound/soc/codecs/sti-sas.c:616: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: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 sti-sas.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/codecs/sti-sas.c
+++ b/sound/soc/codecs/sti-sas.c
@@ -613,7 +613,6 @@ static int sti_sas_driver_remove(struct
 static struct platform_driver sti_sas_platform_driver = {
 	.driver = {
 		.name = "sti-sas-codec",
-		.owner = THIS_MODULE,
 		.of_match_table = sti_sas_dev_match,
 	},
 	.probe = sti_sas_driver_probe,

       reply	other threads:[~2015-07-11  0:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201507110850.cxqCNpZv%fengguang.wu@intel.com>
2015-07-11  0:18 ` kbuild test robot [this message]
2015-07-11  0:18   ` [PATCH] ASoC: sti-sas: fix platform_no_drv_owner.cocci warnings kbuild test robot
2015-07-13 11:16   ` Applied "ASoC: sti-sas: fix platform_no_drv_owner.cocci warnings" to the asoc tree Mark Brown

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=20150711001859.GA80357@roam \
    --to=fengguang.wu@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=arnaud.pouliquen@st.com \
    --cc=broonie@kernel.org \
    --cc=kbuild-all@01.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.