All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, linux-arm-kernel@lists.infradead.org,
	broonie@kernel.org, nicolas.ferre@atmel.com,
	Songjun Wu <songjun.wu@atmel.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org
Subject: [PATCH] ASoC: atmel-classd: fix platform_no_drv_owner.cocci warnings
Date: Mon, 28 Sep 2015 17:10:29 +0800	[thread overview]
Message-ID: <20150928091029.GA23435@roam> (raw)
In-Reply-To: <1443417278-19657-2-git-send-email-songjun.wu@atmel.com>

sound/soc/atmel/atmel-classd.c:669: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: Songjun Wu <songjun.wu@atmel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 atmel-classd.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/atmel/atmel-classd.c
+++ b/sound/soc/atmel/atmel-classd.c
@@ -666,7 +666,6 @@ static int atmel_classd_remove(struct pl
 static struct platform_driver atmel_classd_driver = {
 	.driver	= {
 		.name		= "atmel-classd",
-		.owner		= THIS_MODULE,
 		.of_match_table	= of_match_ptr(atmel_classd_of_match),
 		.pm		= &snd_soc_pm_ops,
 	},

WARNING: multiple messages have this Message-ID (diff)
From: lkp@intel.com (kbuild test robot)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ASoC: atmel-classd: fix platform_no_drv_owner.cocci warnings
Date: Mon, 28 Sep 2015 17:10:29 +0800	[thread overview]
Message-ID: <20150928091029.GA23435@roam> (raw)
In-Reply-To: <1443417278-19657-2-git-send-email-songjun.wu@atmel.com>

sound/soc/atmel/atmel-classd.c:669: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: Songjun Wu <songjun.wu@atmel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 atmel-classd.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/atmel/atmel-classd.c
+++ b/sound/soc/atmel/atmel-classd.c
@@ -666,7 +666,6 @@ static int atmel_classd_remove(struct pl
 static struct platform_driver atmel_classd_driver = {
 	.driver	= {
 		.name		= "atmel-classd",
-		.owner		= THIS_MODULE,
 		.of_match_table	= of_match_ptr(atmel_classd_of_match),
 		.pm		= &snd_soc_pm_ops,
 	},

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Songjun Wu <songjun.wu@atmel.com>
Cc: kbuild-all@01.org, linux-arm-kernel@lists.infradead.org,
	broonie@kernel.org, nicolas.ferre@atmel.com,
	Songjun Wu <songjun.wu@atmel.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org
Subject: [PATCH] ASoC: atmel-classd: fix platform_no_drv_owner.cocci warnings
Date: Mon, 28 Sep 2015 17:10:29 +0800	[thread overview]
Message-ID: <20150928091029.GA23435@roam> (raw)
In-Reply-To: <1443417278-19657-2-git-send-email-songjun.wu@atmel.com>

sound/soc/atmel/atmel-classd.c:669: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: Songjun Wu <songjun.wu@atmel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 atmel-classd.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/atmel/atmel-classd.c
+++ b/sound/soc/atmel/atmel-classd.c
@@ -666,7 +666,6 @@ static int atmel_classd_remove(struct pl
 static struct platform_driver atmel_classd_driver = {
 	.driver	= {
 		.name		= "atmel-classd",
-		.owner		= THIS_MODULE,
 		.of_match_table	= of_match_ptr(atmel_classd_of_match),
 		.pm		= &snd_soc_pm_ops,
 	},

  reply	other threads:[~2015-09-28  9:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-28  5:14 [RESEND PATCH v2 0/2] ASoC: atmel-classd: add driver for Atmel CLASSD Songjun Wu
2015-09-28  5:14 ` Songjun Wu
2015-09-28  5:14 ` Songjun Wu
2015-09-28  5:14 ` [RESEND PATCH v2 1/2] ASoC: atmel-classd: add the Audio Class D Amplifier Songjun Wu
2015-09-28  5:14   ` Songjun Wu
2015-09-28  5:14   ` Songjun Wu
2015-09-28  9:10   ` kbuild test robot [this message]
2015-09-28  9:10     ` [PATCH] ASoC: atmel-classd: fix platform_no_drv_owner.cocci warnings kbuild test robot
2015-09-28  9:10     ` kbuild test robot
2015-09-28  9:10   ` [PATCH] ASoC: atmel-classd: fix odd_ptr_err.cocci warnings kbuild test robot
2015-09-28  9:10     ` kbuild test robot
2015-09-28  9:10     ` kbuild test robot
2015-09-28 11:26     ` [alsa-devel] " Peter Korsgaard
2015-09-28 11:26       ` Peter Korsgaard
2015-09-29  1:42       ` Wu, Songjun
2015-09-29  1:42         ` Wu, Songjun
2015-09-29  1:42         ` Wu, Songjun
2015-09-28  5:14 ` [RESEND PATCH v2 2/2] SoC: atmel-classd: DT binding for Class D audio amplifier driver Songjun Wu
2015-09-28  5:14   ` Songjun Wu
2015-09-28  5:14   ` Songjun Wu

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=20150928091029.GA23435@roam \
    --to=lkp@intel.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=nicolas.ferre@atmel.com \
    --cc=perex@perex.cz \
    --cc=songjun.wu@atmel.com \
    --cc=tiwai@suse.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 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.