[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 3 Mar 2016 16:16:56 +0800
From: kbuild test robot <lkp@...el.com>
To: Lu Baolu <baolu.lu@...ux.intel.com>
Cc: kbuild-all@...org, Felipe Balbi <balbi@...nel.org>,
Mathias Nyman <mathias.nyman@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Lee Jones <lee.jones@...aro.org>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
MyungJoo Ham <myungjoo.ham@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Lu Baolu <baolu.lu@...ux.intel.com>,
David Cohen <david.a.cohen@...ux.intel.com>
Subject: [PATCH] usb: misc: fix platform_no_drv_owner.cocci warnings
drivers/usb/misc/intel-mux-gpio.c:111: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: Lu Baolu <baolu.lu@...ux.intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
intel-mux-gpio.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/usb/misc/intel-mux-gpio.c
+++ b/drivers/usb/misc/intel-mux-gpio.c
@@ -108,7 +108,6 @@ MODULE_DEVICE_TABLE(platform, vuport_pla
static struct platform_driver vuport_driver = {
.driver = {
.name = "intel-mux-gpio",
- .owner = THIS_MODULE,
#ifdef CONFIG_PM_SLEEP
.pm = &vuport_pm_ops,
#endif
Powered by blists - more mailing lists