From: kbuild test robot Date: Tue, 24 Mar 2015 23:54:12 +0000 (+0800) Subject: usb: host/sl811-hcd: fix platform_no_drv_owner.cocci warnings X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f4ea80a6026a09aa0b59ec7443b901660f390550;p=linux-beck.git 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 Acked-by: Lad, Prabhakar Signed-off-by: Greg Kroah-Hartman --- 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);