linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Wang Yafei <wangyafei@goodix.com>
Cc: kbuild-all@01.org, Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Henrik Rydberg <rydberg@bitmath.org>,
	linux-input@vger.kernel.org, andrew@goodix.com, mouse@goodix.com,
	linux-kernel@vger.kernel.org
Subject: [PATCH] Input: fix platform_no_drv_owner.cocci warnings
Date: Mon, 19 Jun 2017 21:24:27 +0800	[thread overview]
Message-ID: <20170619132427.GA46641@lkp-hsx03.lkp.intel.com> (raw)
In-Reply-To: <33339a02-dac7-9097-9ea4-3c12c7b84a59@goodix.com>

drivers/input/touchscreen/goodix-ts-sunrise/goodix_ts_core.c:1335: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: Wang Yafei <wangyafei@goodix.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/input/touchscreen/goodix-ts-sunrise/goodix_ts_core.c
+++ b/drivers/input/touchscreen/goodix-ts-sunrise/goodix_ts_core.c
@@ -1332,7 +1332,6 @@ MODULE_DEVICE_TABLE(platform, ts_core_id
 static struct platform_driver goodix_ts_driver = {
 	.driver = {
 		.name = GOODIX_CORE_DRIVER_NAME,
-		.owner = THIS_MODULE,
 		.pm = &dev_pm_ops,
 	},
 	.probe = goodix_ts_probe,

  reply	other threads:[~2017-06-19 13:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` kbuild test robot [this message]
2017-06-19 13:24   ` [PATCH] Input: fix platform_no_drv_owner.cocci warnings kbuild test robot
2017-06-19 13:24   ` [PATCH] Input: fix semicolon.cocci warnings kbuild test robot
2017-06-19 15:10   ` [PATCH v2] Input: Add driver for GOODiX GTx5 series touchsereen kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
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
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
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

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=20170619132427.GA46641@lkp-hsx03.lkp.intel.com \
    --to=lkp@intel.com \
    --cc=andrew@goodix.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mouse@goodix.com \
    --cc=rydberg@bitmath.org \
    --cc=wangyafei@goodix.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 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).