summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2014-11-27 03:16:33 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-26 11:47:43 -0800
commit67c3c5e28e9bc1dd244829ba7eac8a446da96ff3 (patch)
tree3131940ceffc7663dcb41984b1a7cf08d864947c /drivers/usb/chipidea
parent9f10adc54450e246bbbb63cd152a941873068567 (diff)
downloadblackbird-obmc-linux-67c3c5e28e9bc1dd244829ba7eac8a446da96ff3.tar.gz
blackbird-obmc-linux-67c3c5e28e9bc1dd244829ba7eac8a446da96ff3.zip
usb: chipidea: fix platform_no_drv_owner.cocci warnings
drivers/usb/chipidea/ci_hdrc_usb2.c:108: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: Antoine Tenart <antoine.tenart@free-electrons.com> Cc: Peter Chen <peter.chen@freescale.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r--drivers/usb/chipidea/ci_hdrc_usb2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_usb2.c b/drivers/usb/chipidea/ci_hdrc_usb2.c
index 61d8e55df1bd..45844c951788 100644
--- a/drivers/usb/chipidea/ci_hdrc_usb2.c
+++ b/drivers/usb/chipidea/ci_hdrc_usb2.c
@@ -105,7 +105,6 @@ static struct platform_driver ci_hdrc_usb2_driver = {
.remove = ci_hdrc_usb2_remove,
.driver = {
.name = "chipidea-usb2",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(ci_hdrc_usb2_of_match),
},
};
OpenPOWER on IntegriCloud