[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160624214731.GA125355@roam>
Date: Sat, 25 Jun 2016 05:47:31 +0800
From: kbuild test robot <lkp@...el.com>
To: Benjamin Tissoires <benjamin.tissoires@...hat.com>
Cc: kbuild-all@...org, Wolfram Sang <wsa@...-dreams.de>,
Jean Delvare <jdelvare@...e.de>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Andrew Duggan <aduggan@...aptics.com>,
Christopher Heiny <cheiny@...aptics.com>,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] Input: fix platform_no_drv_owner.cocci warnings
drivers/input/rmi4/rmi_smbus.c:448: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: Benjamin Tissoires <benjamin.tissoires@...hat.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
rmi_smbus.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/input/rmi4/rmi_smbus.c
+++ b/drivers/input/rmi4/rmi_smbus.c
@@ -445,7 +445,6 @@ MODULE_DEVICE_TABLE(i2c, rmi_id);
static struct i2c_driver rmi_smb_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "rmi4_smbus",
.pm = &rmi_smb_pm,
.resume = rmi_smb_resume,
Powered by blists - more mailing lists