devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
	brian.austin@cirrus.com, lgirdwood@gmail.com,
	Paul Handrigan <Paul.Handrigan@cirrus.com>,
	robh+dt@kernel.org, broonie@kernel.org, kbuild-all@01.org
Subject: [PATCH] ASoC: cs35l33: fix platform_no_drv_owner.cocci warnings
Date: Tue, 21 Jun 2016 01:41:26 +0800	[thread overview]
Message-ID: <20160620174125.GA235124@lkp-ib04> (raw)
In-Reply-To: <1466441119-8488-1-git-send-email-Paul.Handrigan@cirrus.com>

sound/soc/codecs/cs35l33.c:1301: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: Paul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 cs35l33.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/codecs/cs35l33.c
+++ b/sound/soc/codecs/cs35l33.c
@@ -1298,7 +1298,6 @@ MODULE_DEVICE_TABLE(i2c, cs35l33_id);
 static struct i2c_driver cs35l33_i2c_driver = {
 	.driver = {
 		.name = "cs35l33",
-		.owner = THIS_MODULE,
 		.pm = &cs35l33_pm_ops,
 		.of_match_table = cs35l33_of_match,
 

  parent reply	other threads:[~2016-06-20 17:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20 16:45 [PATCH v7 1/2] ASoC: cs35l33: Initial commit of the cs35l33 CODEC driver Paul.Handrigan
2016-06-20 16:45 ` [PATCH v7 2/2] ASoC: cs35l33: Add device tree bindings file for cs35l33 Paul.Handrigan
     [not found]   ` <1466441119-8488-2-git-send-email-Paul.Handrigan-jGc1dHjMKG3QT0dZR+AlfA@public.gmane.org>
2016-06-21 19:21     ` Rob Herring
2016-06-27 16:40     ` Applied "ASoC: cs35l33: Add device tree bindings file for cs35l33" to the asoc tree Mark Brown
2016-06-28 20:57       ` Rob Herring
2016-06-28 21:45         ` Mark Brown
     [not found] ` <1466441119-8488-1-git-send-email-Paul.Handrigan-jGc1dHjMKG3QT0dZR+AlfA@public.gmane.org>
2016-06-20 17:41   ` [alsa-devel] [PATCH v7 1/2] ASoC: cs35l33: Initial commit of the cs35l33 CODEC driver kbuild test robot
2016-06-27 16:40   ` Applied "ASoC: cs35l33: Initial commit of the cs35l33 CODEC driver." to the asoc tree Mark Brown
2016-06-20 17:41 ` kbuild test robot [this message]
2016-06-27 16:40   ` Applied "ASoC: cs35l33: fix platform_no_drv_owner.cocci warnings" " 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=20160620174125.GA235124@lkp-ib04 \
    --to=lkp@intel.com \
    --cc=Paul.Handrigan@cirrus.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=brian.austin@cirrus.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@01.org \
    --cc=lgirdwood@gmail.com \
    --cc=robh+dt@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).