X86 platform drivers
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, platform-driver-x86@vger.kernel.org,
	cphealy@gmail.com, Guenter Roeck <linux@roeck-us.net>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Darren Hart <dvhart@infradead.org>,
	open list <linux-kernel@vger.kernel.org>
Subject: [PATCH] platform/x86: fix platform_no_drv_owner.cocci warnings
Date: Fri, 13 Jan 2017 18:15:10 +0800	[thread overview]
Message-ID: <20170113101510.GA25249@lkp-wsm-ep2> (raw)
In-Reply-To: <20170111212644.9217-1-f.fainelli@gmail.com>

drivers/platform/x86/scu.c:1541: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: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/platform/x86/scu.c
+++ b/drivers/platform/x86/scu.c
@@ -1538,7 +1538,6 @@ static struct platform_driver scu_driver
 	.remove = __exit_p(scu_remove),
 	.driver = {
 		.name = "scu",
-		.owner = THIS_MODULE,
 	},
 };
 

  parent reply	other threads:[~2017-01-13 10:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11 21:26 [PATCH] platform/x86: Add IMS/ZII SCU driver Florian Fainelli
2017-01-13 10:15 ` kbuild test robot
2017-01-13 10:15 ` kbuild test robot [this message]
2017-01-13 16:38 ` Andy Shevchenko
2017-01-13 18:22   ` Darren Hart
2017-01-13 23:11     ` Florian Fainelli
2017-01-13 23:15   ` Florian Fainelli
2017-01-14  5:49     ` Guenter Roeck
2017-01-24 19:39     ` Andy Shevchenko
2017-01-24 20:07       ` Florian Fainelli
2017-01-24 20:18         ` Andy Shevchenko
2017-01-24 18:45   ` Florian Fainelli
2017-01-24 21:08 ` Andy Shevchenko

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=20170113101510.GA25249@lkp-wsm-ep2 \
    --to=lkp@intel.com \
    --cc=cphealy@gmail.com \
    --cc=dvhart@infradead.org \
    --cc=f.fainelli@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=platform-driver-x86@vger.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