linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: lkp@intel.com (kbuild test robot)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] acpi: fix platform_no_drv_owner.cocci warnings
Date: Tue, 26 Jan 2016 07:21:56 +0800	[thread overview]
Message-ID: <20160125232156.GA45057@lkp-ib04> (raw)
In-Reply-To: <1453757387-28154-1-git-send-email-okaya@codeaurora.org>

drivers/acpi/evged.c:152: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: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/acpi/evged.c
+++ b/drivers/acpi/evged.c
@@ -149,7 +149,6 @@ static struct platform_driver ged_driver
 	.probe = ged_probe,
 	.driver = {
 		.name = MODULE_NAME,
-		.owner = THIS_MODULE,
 		.acpi_match_table = ACPI_PTR(ged_acpi_ids),
 	},
 };

  reply	other threads:[~2016-01-25 23:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-25 23:21 [PATCH] acpi: implement Generic Event Device kbuild test robot
2016-01-25 21:29 ` Sinan Kaya
2016-01-25 23:21   ` kbuild test robot [this message]
2016-01-26 12:38   ` Andy Shevchenko
2016-01-26 13:49     ` Sinan Kaya

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=20160125232156.GA45057@lkp-ib04 \
    --to=lkp@intel.com \
    --cc=linux-arm-kernel@lists.infradead.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).