Linux bluetooth development
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Loic Poulain <loic.poulain@intel.com>
Cc: kbuild-all@01.org, Marcel Holtmann <marcel@holtmann.org>,
	linux-bluetooth@vger.kernel.org,
	Gustavo Padovan <gustavo@padovan.org>,
	Johan Hedberg <johan.hedberg@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] Bluetooth: hci_intel: fix platform_no_drv_owner.cocci warnings
Date: Fri, 28 Aug 2015 00:40:40 +0800	[thread overview]
Message-ID: <20150827164040.GA31812@lkp-ib03> (raw)
In-Reply-To: <201508280038.dKhX3DnU%fengguang.wu@intel.com>

drivers/bluetooth/hci_intel.c:872: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: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/bluetooth/hci_intel.c
+++ b/drivers/bluetooth/hci_intel.c
@@ -869,7 +869,6 @@ static struct platform_driver intel_driv
 	.driver = {
 		.name = "hci_intel",
 		.acpi_match_table = ACPI_PTR(intel_acpi_match),
-		.owner = THIS_MODULE,
 	},
 };
 

      reply	other threads:[~2015-08-27 16:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27 16:40 [bluetooth:master 10/10] drivers/bluetooth/hci_intel.c:872:3-8: No need to set .owner here. The core will do it kbuild test robot
2015-08-27 16:40 ` kbuild test robot [this message]

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=20150827164040.GA31812@lkp-ib03 \
    --to=fengguang.wu@intel.com \
    --cc=gustavo@padovan.org \
    --cc=johan.hedberg@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loic.poulain@intel.com \
    --cc=marcel@holtmann.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