diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-12-21 15:28:24 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-09 15:31:53 -0500 |
commit | 1d97869198a36dfc2920abd5776d91767fbead63 (patch) | |
tree | d04f987d4a1c988c287b5b4f0db37123350ceae7 /drivers/usb | |
parent | f1161256258e8ea24c3e5846abfdaccc508134b4 (diff) |
usb: host: drop owner assignment from platform_drivers
These platform_drivers do not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ehci-fsl.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ehci-grlib.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ehci-pmcmsp.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ehci-ppc-of.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ehci-sead3.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ehci-sh.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ehci-tilegx.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ehci-xilinx-of.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ohci-da8xx.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ohci-jz4740.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ohci-ppc-of.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ohci-sm501.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ohci-tilegx.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/ohci-tmio.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/uhci-grlib.c | 1 | ||||
-rw-r--r-- | drivers/usb/host/uhci-platform.c | 1 |
16 files changed, 0 insertions, 16 deletions
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index fb7bd0c7dc15..ab4eee3df97a 100644 --- a/drivers/usb/host/ehci-fsl.c +++ b/drivers/usb/host/ehci-fsl.c | |||
@@ -709,7 +709,6 @@ static struct platform_driver ehci_fsl_driver = { | |||
709 | .shutdown = usb_hcd_platform_shutdown, | 709 | .shutdown = usb_hcd_platform_shutdown, |
710 | .driver = { | 710 | .driver = { |
711 | .name = "fsl-ehci", | 711 | .name = "fsl-ehci", |
712 | .owner = THIS_MODULE, | ||
713 | .pm = EHCI_FSL_PM_OPS, | 712 | .pm = EHCI_FSL_PM_OPS, |
714 | }, | 713 | }, |
715 | }; | 714 | }; |
diff --git a/drivers/usb/host/ehci-grlib.c b/drivers/usb/host/ehci-grlib.c index 495b6fbcbcd9..21650044b09e 100644 --- a/drivers/usb/host/ehci-grlib.c +++ b/drivers/usb/host/ehci-grlib.c | |||
@@ -187,7 +187,6 @@ static struct platform_driver ehci_grlib_driver = { | |||
187 | .shutdown = usb_hcd_platform_shutdown, | 187 | .shutdown = usb_hcd_platform_shutdown, |
188 | .driver = { | 188 | .driver = { |
189 | .name = "grlib-ehci", | 189 | .name = "grlib-ehci", |
190 | .owner = THIS_MODULE, | ||
191 | .of_match_table = ehci_hcd_grlib_of_match, | 190 | .of_match_table = ehci_hcd_grlib_of_match, |
192 | }, | 191 | }, |
193 | }; | 192 | }; |
diff --git a/drivers/usb/host/ehci-pmcmsp.c b/drivers/usb/host/ehci-pmcmsp.c index 7d75465d97c7..342816a7f8b1 100644 --- a/drivers/usb/host/ehci-pmcmsp.c +++ b/drivers/usb/host/ehci-pmcmsp.c | |||
@@ -325,6 +325,5 @@ static struct platform_driver ehci_hcd_msp_driver = { | |||
325 | .remove = ehci_hcd_msp_drv_remove, | 325 | .remove = ehci_hcd_msp_drv_remove, |
326 | .driver = { | 326 | .driver = { |
327 | .name = "pmcmsp-ehci", | 327 | .name = "pmcmsp-ehci", |
328 | .owner = THIS_MODULE, | ||
329 | }, | 328 | }, |
330 | }; | 329 | }; |
diff --git a/drivers/usb/host/ehci-ppc-of.c b/drivers/usb/host/ehci-ppc-of.c index 547924796d29..1a10c8d542ca 100644 --- a/drivers/usb/host/ehci-ppc-of.c +++ b/drivers/usb/host/ehci-ppc-of.c | |||
@@ -234,7 +234,6 @@ static struct platform_driver ehci_hcd_ppc_of_driver = { | |||
234 | .shutdown = usb_hcd_platform_shutdown, | 234 | .shutdown = usb_hcd_platform_shutdown, |
235 | .driver = { | 235 | .driver = { |
236 | .name = "ppc-of-ehci", | 236 | .name = "ppc-of-ehci", |
237 | .owner = THIS_MODULE, | ||
238 | .of_match_table = ehci_hcd_ppc_of_match, | 237 | .of_match_table = ehci_hcd_ppc_of_match, |
239 | }, | 238 | }, |
240 | }; | 239 | }; |
diff --git a/drivers/usb/host/ehci-sead3.c b/drivers/usb/host/ehci-sead3.c index 9b6e8d0eac43..3d86cc2ffe68 100644 --- a/drivers/usb/host/ehci-sead3.c +++ b/drivers/usb/host/ehci-sead3.c | |||
@@ -178,7 +178,6 @@ static struct platform_driver ehci_hcd_sead3_driver = { | |||
178 | .shutdown = usb_hcd_platform_shutdown, | 178 | .shutdown = usb_hcd_platform_shutdown, |
179 | .driver = { | 179 | .driver = { |
180 | .name = "sead3-ehci", | 180 | .name = "sead3-ehci", |
181 | .owner = THIS_MODULE, | ||
182 | .pm = SEAD3_EHCI_PMOPS, | 181 | .pm = SEAD3_EHCI_PMOPS, |
183 | } | 182 | } |
184 | }; | 183 | }; |
diff --git a/drivers/usb/host/ehci-sh.c b/drivers/usb/host/ehci-sh.c index 0e0ce684aff3..5caf88d679e4 100644 --- a/drivers/usb/host/ehci-sh.c +++ b/drivers/usb/host/ehci-sh.c | |||
@@ -189,7 +189,6 @@ static struct platform_driver ehci_hcd_sh_driver = { | |||
189 | .shutdown = ehci_hcd_sh_shutdown, | 189 | .shutdown = ehci_hcd_sh_shutdown, |
190 | .driver = { | 190 | .driver = { |
191 | .name = "sh_ehci", | 191 | .name = "sh_ehci", |
192 | .owner = THIS_MODULE, | ||
193 | }, | 192 | }, |
194 | }; | 193 | }; |
195 | 194 | ||
diff --git a/drivers/usb/host/ehci-tilegx.c b/drivers/usb/host/ehci-tilegx.c index 0d247673c3ca..bdb93b6a356f 100644 --- a/drivers/usb/host/ehci-tilegx.c +++ b/drivers/usb/host/ehci-tilegx.c | |||
@@ -210,7 +210,6 @@ static struct platform_driver ehci_hcd_tilegx_driver = { | |||
210 | .shutdown = ehci_hcd_tilegx_drv_shutdown, | 210 | .shutdown = ehci_hcd_tilegx_drv_shutdown, |
211 | .driver = { | 211 | .driver = { |
212 | .name = "tilegx-ehci", | 212 | .name = "tilegx-ehci", |
213 | .owner = THIS_MODULE, | ||
214 | } | 213 | } |
215 | }; | 214 | }; |
216 | 215 | ||
diff --git a/drivers/usb/host/ehci-xilinx-of.c b/drivers/usb/host/ehci-xilinx-of.c index a2328361dc80..f54480850bb8 100644 --- a/drivers/usb/host/ehci-xilinx-of.c +++ b/drivers/usb/host/ehci-xilinx-of.c | |||
@@ -236,7 +236,6 @@ static struct platform_driver ehci_hcd_xilinx_of_driver = { | |||
236 | .shutdown = usb_hcd_platform_shutdown, | 236 | .shutdown = usb_hcd_platform_shutdown, |
237 | .driver = { | 237 | .driver = { |
238 | .name = "xilinx-of-ehci", | 238 | .name = "xilinx-of-ehci", |
239 | .owner = THIS_MODULE, | ||
240 | .of_match_table = ehci_hcd_xilinx_of_match, | 239 | .of_match_table = ehci_hcd_xilinx_of_match, |
241 | }, | 240 | }, |
242 | }; | 241 | }; |
diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c index 1c76999b2184..e5c33bc98ea4 100644 --- a/drivers/usb/host/ohci-da8xx.c +++ b/drivers/usb/host/ohci-da8xx.c | |||
@@ -431,7 +431,6 @@ static struct platform_driver ohci_hcd_da8xx_driver = { | |||
431 | .resume = ohci_da8xx_resume, | 431 | .resume = ohci_da8xx_resume, |
432 | #endif | 432 | #endif |
433 | .driver = { | 433 | .driver = { |
434 | .owner = THIS_MODULE, | ||
435 | .name = "ohci", | 434 | .name = "ohci", |
436 | }, | 435 | }, |
437 | }; | 436 | }; |
diff --git a/drivers/usb/host/ohci-jz4740.c b/drivers/usb/host/ohci-jz4740.c index 8ddd8f5470cb..4db78f169256 100644 --- a/drivers/usb/host/ohci-jz4740.c +++ b/drivers/usb/host/ohci-jz4740.c | |||
@@ -239,7 +239,6 @@ static struct platform_driver ohci_hcd_jz4740_driver = { | |||
239 | .remove = jz4740_ohci_remove, | 239 | .remove = jz4740_ohci_remove, |
240 | .driver = { | 240 | .driver = { |
241 | .name = "jz4740-ohci", | 241 | .name = "jz4740-ohci", |
242 | .owner = THIS_MODULE, | ||
243 | }, | 242 | }, |
244 | }; | 243 | }; |
245 | 244 | ||
diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c index 965e3e9e688a..4f87a5c61b08 100644 --- a/drivers/usb/host/ohci-ppc-of.c +++ b/drivers/usb/host/ohci-ppc-of.c | |||
@@ -229,7 +229,6 @@ static struct platform_driver ohci_hcd_ppc_of_driver = { | |||
229 | .shutdown = usb_hcd_platform_shutdown, | 229 | .shutdown = usb_hcd_platform_shutdown, |
230 | .driver = { | 230 | .driver = { |
231 | .name = "ppc-of-ohci", | 231 | .name = "ppc-of-ohci", |
232 | .owner = THIS_MODULE, | ||
233 | .of_match_table = ohci_hcd_ppc_of_match, | 232 | .of_match_table = ohci_hcd_ppc_of_match, |
234 | }, | 233 | }, |
235 | }; | 234 | }; |
diff --git a/drivers/usb/host/ohci-sm501.c b/drivers/usb/host/ohci-sm501.c index 4e81c804c73e..a8b8d8b8d9f3 100644 --- a/drivers/usb/host/ohci-sm501.c +++ b/drivers/usb/host/ohci-sm501.c | |||
@@ -265,7 +265,6 @@ static struct platform_driver ohci_hcd_sm501_driver = { | |||
265 | .suspend = ohci_sm501_suspend, | 265 | .suspend = ohci_sm501_suspend, |
266 | .resume = ohci_sm501_resume, | 266 | .resume = ohci_sm501_resume, |
267 | .driver = { | 267 | .driver = { |
268 | .owner = THIS_MODULE, | ||
269 | .name = "sm501-usb", | 268 | .name = "sm501-usb", |
270 | }, | 269 | }, |
271 | }; | 270 | }; |
diff --git a/drivers/usb/host/ohci-tilegx.c b/drivers/usb/host/ohci-tilegx.c index bef6dfb0405a..e1b208da460a 100644 --- a/drivers/usb/host/ohci-tilegx.c +++ b/drivers/usb/host/ohci-tilegx.c | |||
@@ -199,7 +199,6 @@ static struct platform_driver ohci_hcd_tilegx_driver = { | |||
199 | .shutdown = ohci_hcd_tilegx_drv_shutdown, | 199 | .shutdown = ohci_hcd_tilegx_drv_shutdown, |
200 | .driver = { | 200 | .driver = { |
201 | .name = "tilegx-ohci", | 201 | .name = "tilegx-ohci", |
202 | .owner = THIS_MODULE, | ||
203 | } | 202 | } |
204 | }; | 203 | }; |
205 | 204 | ||
diff --git a/drivers/usb/host/ohci-tmio.c b/drivers/usb/host/ohci-tmio.c index bb409588d39c..e9a6eec39142 100644 --- a/drivers/usb/host/ohci-tmio.c +++ b/drivers/usb/host/ohci-tmio.c | |||
@@ -368,6 +368,5 @@ static struct platform_driver ohci_hcd_tmio_driver = { | |||
368 | .resume = ohci_hcd_tmio_drv_resume, | 368 | .resume = ohci_hcd_tmio_drv_resume, |
369 | .driver = { | 369 | .driver = { |
370 | .name = "tmio-ohci", | 370 | .name = "tmio-ohci", |
371 | .owner = THIS_MODULE, | ||
372 | }, | 371 | }, |
373 | }; | 372 | }; |
diff --git a/drivers/usb/host/uhci-grlib.c b/drivers/usb/host/uhci-grlib.c index 05f57ffdf9ab..0342991c9507 100644 --- a/drivers/usb/host/uhci-grlib.c +++ b/drivers/usb/host/uhci-grlib.c | |||
@@ -188,7 +188,6 @@ static struct platform_driver uhci_grlib_driver = { | |||
188 | .shutdown = uhci_hcd_grlib_shutdown, | 188 | .shutdown = uhci_hcd_grlib_shutdown, |
189 | .driver = { | 189 | .driver = { |
190 | .name = "grlib-uhci", | 190 | .name = "grlib-uhci", |
191 | .owner = THIS_MODULE, | ||
192 | .of_match_table = uhci_hcd_grlib_of_match, | 191 | .of_match_table = uhci_hcd_grlib_of_match, |
193 | }, | 192 | }, |
194 | }; | 193 | }; |
diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c index cf8f46003f62..3a3e3eeba291 100644 --- a/drivers/usb/host/uhci-platform.c +++ b/drivers/usb/host/uhci-platform.c | |||
@@ -147,7 +147,6 @@ static struct platform_driver uhci_platform_driver = { | |||
147 | .shutdown = uhci_hcd_platform_shutdown, | 147 | .shutdown = uhci_hcd_platform_shutdown, |
148 | .driver = { | 148 | .driver = { |
149 | .name = "platform-uhci", | 149 | .name = "platform-uhci", |
150 | .owner = THIS_MODULE, | ||
151 | .of_match_table = platform_uhci_ids, | 150 | .of_match_table = platform_uhci_ids, |
152 | }, | 151 | }, |
153 | }; | 152 | }; |