summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-03-25 07:54:12 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 10:56:30 +0100
commitf4ea80a6026a09aa0b59ec7443b901660f390550 (patch)
treee2300cfd58de8310881f7dbb77d206295d825ddf
parentdb7869cabd4862d984cca91dee62c14d08ae5b03 (diff)
downloadlinux-riscv-f4ea80a6026a09aa0b59ec7443b901660f390550.tar.gz
linux-riscv-f4ea80a6026a09aa0b59ec7443b901660f390550.tar.bz2
linux-riscv-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>
-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);