summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-03-25 00:54:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 10:56:30 +0100
commitf4ea80a6026a09aa0b59ec7443b901660f390550 (patch)
treee2300cfd58de8310881f7dbb77d206295d825ddf /drivers/usb
parentchipidea: pci: make it depends on NOP_USB_XCEIV (diff)
downloadlinux-f4ea80a6026a09aa0b59ec7443b901660f390550.tar.xz
linux-f4ea80a6026a09aa0b59ec7443b901660f390550.zip
usb: host/sl811-hcd: fix platform_no_drv_owner.cocci warnings
drivers/usb/host/sl811-hcd.c:1812: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 Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/sl811-hcd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c
index aceddfdd166d..944a4173dd94 100644
--- a/drivers/usb/host/sl811-hcd.c
+++ b/drivers/usb/host/sl811-hcd.c
@@ -1809,7 +1809,6 @@ static struct platform_driver sl811h_driver = {
.resume = sl811h_resume,
.driver = {
.name = (char *) hcd_name,
- .owner = THIS_MODULE,
},
};
EXPORT_SYMBOL(sl811h_driver);