diff options
author | Kiran Padwal <kiran.padwal@smartplayin.com> | 2014-09-24 13:18:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-29 03:55:10 +0200 |
commit | bb50564258b5414d434a383ea6b02443521eb5ce (patch) | |
tree | 17ff5b709c646bc48b8be231d1bdc3e5065b290d /drivers/usb/dwc3/dwc3-keystone.c | |
parent | usb: core: log higher level message on malformed LANGID descriptor (diff) | |
download | linux-bb50564258b5414d434a383ea6b02443521eb5ce.tar.xz linux-bb50564258b5414d434a383ea6b02443521eb5ce.zip |
USB: Remove .owner field for driver
There is no need to init .owner field.
Based on the patch from Peter Griffin <peter.griffin@linaro.org>
"mmc: remove .owner field for drivers using module_platform_driver"
This patch removes the superflous .owner field for drivers which
use the module_platform_driver API, as this is overriden in
platform_driver_register anyway."
Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com>
Reviewed-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-keystone.c')
-rw-r--r-- | drivers/usb/dwc3/dwc3-keystone.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-keystone.c b/drivers/usb/dwc3/dwc3-keystone.c index 1fad1618df6e..7ec8495f4523 100644 --- a/drivers/usb/dwc3/dwc3-keystone.c +++ b/drivers/usb/dwc3/dwc3-keystone.c @@ -189,7 +189,6 @@ static struct platform_driver kdwc3_driver = { .remove = kdwc3_remove, .driver = { .name = "keystone-dwc3", - .owner = THIS_MODULE, .of_match_table = kdwc3_of_match, }, }; |