All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Mylène Josserand" <mylene.josserand@free-electrons.com>
Cc: kbuild-all@01.org, dmitry.torokhov@gmail.com, robh+dt@kernel.org,
	mark.rutland@arm.com, linux-kernel@vger.kernel.org,
	linux-input@vger.kernel.org, devicetree@vger.kernel.org,
	mylene.josserand@free-electrons.com,
	thomas.petazzoni@free-electrons.com,
	maxime.ripard@free-electrons.com
Subject: [PATCH] Input: fix platform_no_drv_owner.cocci warnings
Date: Sun, 3 Dec 2017 22:29:41 +0800	[thread overview]
Message-ID: <20171203142941.GA56404@lkp-g5.lkp.intel.com> (raw)
In-Reply-To: <20171201153957.13053-2-mylene.josserand@free-electrons.com>

drivers/input/touchscreen/cyttsp5.c:1098: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

Fixes: 68d0bd1e4815 ("Input: Add driver for Cypress Generation 5 touchscreen")
CC: Mylène Josserand <mylene.josserand@free-electrons.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/input/touchscreen/cyttsp5.c
+++ b/drivers/input/touchscreen/cyttsp5.c
@@ -1095,7 +1095,6 @@ static int cyttsp5_i2c_remove(struct i2c
 static struct i2c_driver cyttsp5_i2c_driver = {
 	.driver = {
 		.name = CYTTSP5_NAME,
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(cyttsp5_of_match),
 	},
 	.probe = cyttsp5_i2c_probe,

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, dmitry.torokhov@gmail.com, robh+dt@kernel.org,
	mark.rutland@arm.com, linux-kernel@vger.kernel.org,
	linux-input@vger.kernel.org, devicetree@vger.kernel.org,
	mylene.josserand@free-electrons.com,
	thomas.petazzoni@free-electrons.com,
	maxime.ripard@free-electrons.com
Subject: [PATCH] Input: fix platform_no_drv_owner.cocci warnings
Date: Sun, 3 Dec 2017 22:29:41 +0800	[thread overview]
Message-ID: <20171203142941.GA56404@lkp-g5.lkp.intel.com> (raw)
In-Reply-To: <20171201153957.13053-2-mylene.josserand@free-electrons.com>

drivers/input/touchscreen/cyttsp5.c:1098: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

Fixes: 68d0bd1e4815 ("Input: Add driver for Cypress Generation 5 touchscreen")
CC: Mylène Josserand <mylene.josserand@free-electrons.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/input/touchscreen/cyttsp5.c
+++ b/drivers/input/touchscreen/cyttsp5.c
@@ -1095,7 +1095,6 @@ static int cyttsp5_i2c_remove(struct i2c
 static struct i2c_driver cyttsp5_i2c_driver = {
 	.driver = {
 		.name = CYTTSP5_NAME,
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(cyttsp5_of_match),
 	},
 	.probe = cyttsp5_i2c_probe,

  reply	other threads:[~2017-12-03 14:30 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-01 15:39 [PATCH v4 0/2] Input: Add Cypress Gen5 Touchscreen driver Mylène Josserand
2017-12-01 15:39 ` Mylène Josserand
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   ` kbuild test robot [this message]
2017-12-03 14:29     ` [PATCH] Input: fix platform_no_drv_owner.cocci warnings kbuild test robot
2017-12-03 14:29   ` [PATCH v4 1/2] Input: Add driver for Cypress Generation 5 touchscreen kbuild test robot
2017-12-03 14:29     ` kbuild test robot
2017-12-13 11:37   ` kbuild test robot
2017-12-13 11:37     ` kbuild test robot
2017-12-13 11:37   ` [RFC PATCH] Input: hid_cmd_state can be static kbuild test robot
2017-12-13 11:37     ` kbuild test robot
2018-01-22 12:50   ` [PATCH v4 1/2] Input: Add driver for Cypress Generation 5 touchscreen Maxime Ripard
2018-01-22 20:11   ` Marcus Folkesson
2018-01-22 20:11     ` Marcus Folkesson
2018-01-23  9:33     ` Mylene Josserand
2018-01-23  4:15   ` Dmitry Torokhov
2018-01-23  4:15     ` Dmitry Torokhov
2018-01-23 10:44     ` Mylene Josserand
2018-01-23 10:50       ` landyn.lawrence
2018-01-23 10:50         ` landyn.lawrence-jHc5sQ61u836K7/ahGyk6A
2018-01-23 17:30       ` Dmitry Torokhov
2017-12-01 15:39 ` [PATCH v4 2/2] dt-bindings: input: Add documentation for cyttsp5 Mylène Josserand
  -- strict thread matches above, loose matches on Subject: below --
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-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-05-29 17:16     ` kbuild test robot
2016-06-24 21:47 [PATCH v9 2/2] Input: synaptics-rmi4 - add SMBus support kbuild test robot
2016-06-24 14:41 ` Benjamin Tissoires
2016-06-24 21:47   ` [PATCH] Input: fix platform_no_drv_owner.cocci warnings kbuild test robot
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 ` [PATCH] Input: fix platform_no_drv_owner.cocci warnings kbuild test robot
2015-10-06 22:50   ` Dmitry Torokhov
2015-10-06 22:50     ` Dmitry Torokhov

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=20171203142941.GA56404@lkp-g5.lkp.intel.com \
    --to=lkp@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=mylene.josserand@free-electrons.com \
    --cc=robh+dt@kernel.org \
    --cc=thomas.petazzoni@free-electrons.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.