linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: "Noralf Trønnes" <noralf@tronnes.org>
Cc: kbuild-all@01.org, linux-input@vger.kernel.org,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] Input: fix platform_no_drv_owner.cocci warnings
Date: Tue, 6 Oct 2015 09:35:31 +0800	[thread overview]
Message-ID: <20151006013531.GA51658@roam> (raw)
In-Reply-To: <201510060921.YCPWmDCt%fengguang.wu@intel.com>

drivers/input/touchscreen/ft6236.c:316: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: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/input/touchscreen/ft6236.c
+++ b/drivers/input/touchscreen/ft6236.c
@@ -313,7 +313,6 @@ MODULE_DEVICE_TABLE(i2c, ft6236_id);
 static struct i2c_driver ft6236_driver = {
 	.driver = {
 		.name = "ft6236",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(ft6236_of_match),
 	},
 	.probe = ft6236_probe,

  reply	other threads:[~2015-10-06  1:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06  1:35 [input:next 1341/1344] drivers/input/touchscreen/ft6236.c:316:3-8: No need to set .owner here. The core will do it kbuild test robot
2015-10-06  1:35 ` kbuild test robot [this message]
2015-10-06 22:50   ` [PATCH] Input: fix platform_no_drv_owner.cocci warnings Dmitry Torokhov
  -- strict thread matches above, loose matches on Subject: below --
2017-05-29 17:16 [PATCH 1/2] Input: Add driver for Cypress Generation 5 touchscreen kbuild test robot
2017-05-29 14:45 ` Mylène Josserand
2017-05-29 17:16   ` [PATCH] Input: fix platform_no_drv_owner.cocci warnings kbuild test robot
2017-06-19 13:24 [PATCH v2] Input: Add driver for GOODiX GTx5 series touchsereen kbuild test robot
2017-06-19  9:29 ` Wang Yafei
2017-06-19 13:24   ` [PATCH] Input: fix platform_no_drv_owner.cocci warnings kbuild test robot
2017-06-19 13:24   ` kbuild test robot
2017-12-01 15:39 [PATCH v4 1/2] Input: Add driver for Cypress Generation 5 touchscreen Mylène Josserand
2017-12-03 14:29 ` [PATCH] Input: fix platform_no_drv_owner.cocci warnings kbuild test robot

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=20151006013531.GA51658@roam \
    --to=fengguang.wu@intel.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=noralf@tronnes.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).