diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:47 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:47 +0200 |
commit | 5bc879a6a2710557961f0965e8fee383ce16ad3c (patch) | |
tree | d03f4ea1580260880712833b9fcafbd2ac19d76d | |
parent | 52830d773ec305f84fa72194b5f1d177bda889d9 (diff) | |
download | lwn-5bc879a6a2710557961f0965e8fee383ce16ad3c.tar.gz lwn-5bc879a6a2710557961f0965e8fee383ce16ad3c.zip |
usb: chipidea: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | drivers/usb/chipidea/ci_hdrc_imx.c | 1 | ||||
-rw-r--r-- | drivers/usb/chipidea/ci_hdrc_zevio.c | 1 | ||||
-rw-r--r-- | drivers/usb/chipidea/core.c | 1 | ||||
-rw-r--r-- | drivers/usb/chipidea/usbmisc_imx.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index a7ab0f15926e..e913792e4df5 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c @@ -215,7 +215,6 @@ static struct platform_driver ci_hdrc_imx_driver = { .remove = ci_hdrc_imx_remove, .driver = { .name = "imx_usb", - .owner = THIS_MODULE, .of_match_table = ci_hdrc_imx_dt_ids, }, }; diff --git a/drivers/usb/chipidea/ci_hdrc_zevio.c b/drivers/usb/chipidea/ci_hdrc_zevio.c index 3bf6489ef5ec..d976fc1db73a 100644 --- a/drivers/usb/chipidea/ci_hdrc_zevio.c +++ b/drivers/usb/chipidea/ci_hdrc_zevio.c @@ -61,7 +61,6 @@ static struct platform_driver ci_hdrc_zevio_driver = { .remove = ci_hdrc_zevio_remove, .driver = { .name = "zevio_usb", - .owner = THIS_MODULE, .of_match_table = ci_hdrc_zevio_dt_ids, }, }; diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index 3df5005c554d..b7e788446ed6 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c @@ -752,7 +752,6 @@ static struct platform_driver ci_hdrc_driver = { .remove = ci_hdrc_remove, .driver = { .name = "ci_hdrc", - .owner = THIS_MODULE, }, }; diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c index 926c997ef310..7776ec676014 100644 --- a/drivers/usb/chipidea/usbmisc_imx.c +++ b/drivers/usb/chipidea/usbmisc_imx.c @@ -372,7 +372,6 @@ static struct platform_driver usbmisc_imx_driver = { .remove = usbmisc_imx_remove, .driver = { .name = "usbmisc_imx", - .owner = THIS_MODULE, .of_match_table = usbmisc_imx_dt_ids, }, }; |