]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
usb: host: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:49 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:49 +0000 (16:21 +0200)
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>
19 files changed:
drivers/usb/host/ehci-exynos.c
drivers/usb/host/ehci-orion.c
drivers/usb/host/ehci-platform.c
drivers/usb/host/ehci-w90x900.c
drivers/usb/host/fhci-hcd.c
drivers/usb/host/fsl-mph-dr-of.c
drivers/usb/host/isp116x-hcd.c
drivers/usb/host/isp1362-hcd.c
drivers/usb/host/isp1760-if.c
drivers/usb/host/ohci-at91.c
drivers/usb/host/ohci-exynos.c
drivers/usb/host/ohci-nxp.c
drivers/usb/host/ohci-omap.c
drivers/usb/host/ohci-platform.c
drivers/usb/host/ohci-pxa27x.c
drivers/usb/host/ohci-s3c2410.c
drivers/usb/host/ohci-spear.c
drivers/usb/host/r8a66597-hcd.c
drivers/usb/host/u132-hcd.c

index 7189f2e32ac2f1b27a793699d2906c2851bd577a..e1b4f58283ad2fec93d69db0a06469254519132a 100644 (file)
@@ -323,7 +323,6 @@ static struct platform_driver exynos_ehci_driver = {
        .shutdown       = usb_hcd_platform_shutdown,
        .driver = {
                .name   = "exynos-ehci",
-               .owner  = THIS_MODULE,
                .pm     = &exynos_ehci_pm_ops,
                .of_match_table = of_match_ptr(exynos_ehci_match),
        }
index 22e15cab8ea581c0a3cc63238fa2c55b78b30931..ebd203ac3fad5bbb5aaa36e0d249c906a9375a8a 100644 (file)
@@ -321,7 +321,6 @@ static struct platform_driver ehci_orion_driver = {
        .shutdown       = usb_hcd_platform_shutdown,
        .driver = {
                .name   = "orion-ehci",
-               .owner  = THIS_MODULE,
                .of_match_table = ehci_orion_dt_ids,
        },
 };
index 2f5b9ce3e042f7473b359740a73bf782090ba936..bc6455c8b77a91855e3b0adc5abd21084fdda1a6 100644 (file)
@@ -379,7 +379,6 @@ static struct platform_driver ehci_platform_driver = {
        .remove         = ehci_platform_remove,
        .shutdown       = usb_hcd_platform_shutdown,
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = "ehci-platform",
                .pm     = &ehci_platform_pm_ops,
                .of_match_table = vt8500_ehci_ids,
index a9303aff125eff1ba1d35a4fe204caff8c35a393..eb7a5a83fa3dfc74662901e113e45af816dfb0fa 100644 (file)
@@ -126,7 +126,6 @@ static struct platform_driver ehci_hcd_w90x900_driver = {
        .remove = ehci_w90x900_remove,
        .driver = {
                .name = "w90x900-ehci",
-               .owner = THIS_MODULE,
        },
 };
 
index a1a1ef5214361c87985b418bb7ced0bee64d8b07..c6cebb96fd2157aea6c13318330c8162db4d9f8e 100644 (file)
@@ -821,7 +821,6 @@ MODULE_DEVICE_TABLE(of, of_fhci_match);
 static struct platform_driver of_fhci_driver = {
        .driver = {
                .name = "fsl,usb-fhci",
-               .owner = THIS_MODULE,
                .of_match_table = of_fhci_match,
        },
        .probe          = of_fhci_probe,
index 9162d1b6c0a348f9a6d028bf7c7eef9df0261240..7e325e90d7d9c6e176b0b2424b223e0ed1a0254e 100644 (file)
@@ -326,7 +326,6 @@ static const struct of_device_id fsl_usb2_mph_dr_of_match[] = {
 static struct platform_driver fsl_usb2_mph_dr_driver = {
        .driver = {
                .name = "fsl-usb2-mph-dr",
-               .owner = THIS_MODULE,
                .of_match_table = fsl_usb2_mph_dr_of_match,
        },
        .probe  = fsl_usb2_mph_dr_of_probe,
index 240e792c81a7b5e7a3c60406b7faf16bd01f743a..31c9c4d0fa0b71eb78bc9d3813973f124162ecbe 100644 (file)
@@ -1707,7 +1707,6 @@ static struct platform_driver isp116x_driver = {
        .resume = isp116x_resume,
        .driver = {
                .name = hcd_name,
-               .owner  = THIS_MODULE,
        },
 };
 
index 4bb37982855e462fb0391f542d54a4ff7ef82251..75e5876f9d7c310f5a73c2f6fd3ace55e9381694 100644 (file)
@@ -2778,7 +2778,6 @@ static struct platform_driver isp1362_driver = {
        .resume = isp1362_resume,
        .driver = {
                .name = hcd_name,
-               .owner = THIS_MODULE,
        },
 };
 
index df931e9ba5b5cfa682f8fab3272da16c5531dca4..09254a43bc0191e4aff1633a050bd6bd0d533578 100644 (file)
@@ -161,7 +161,6 @@ MODULE_DEVICE_TABLE(of, of_isp1760_match);
 static struct platform_driver isp1760_of_driver = {
        .driver = {
                .name = "nxp-isp1760",
-               .owner = THIS_MODULE,
                .of_match_table = of_isp1760_match,
        },
        .probe          = of_isp1760_probe,
index e49eb4f90f5d88cbae3d2af2d248158300251e38..1a4ea93e620d71f6397a78ad2adeed40943d10b6 100644 (file)
@@ -664,7 +664,6 @@ static struct platform_driver ohci_hcd_at91_driver = {
        .resume         = ohci_hcd_at91_drv_resume,
        .driver         = {
                .name   = "at91_ohci",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(at91_ohci_dt_ids),
        },
 };
index d28b6583ba025777ab33fb9b46732181e740092d..4589e3abba83761fc92eb7e03ef8870325ab19d4 100644 (file)
@@ -292,7 +292,6 @@ static struct platform_driver exynos_ohci_driver = {
        .shutdown       = exynos_ohci_shutdown,
        .driver = {
                .name   = "exynos-ohci",
-               .owner  = THIS_MODULE,
                .pm     = &exynos_ohci_pm_ops,
                .of_match_table = of_match_ptr(exynos_ohci_match),
        }
index ba180ed0f81c85f646109650f79ee788aed3ec6e..d9f0481d7258aaa16b78f381518fe697af1e22a8 100644 (file)
@@ -322,7 +322,6 @@ MODULE_DEVICE_TABLE(of, ohci_hcd_nxp_match);
 static struct platform_driver ohci_hcd_nxp_driver = {
        .driver = {
                .name = "usb-ohci",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(ohci_hcd_nxp_match),
        },
        .probe = ohci_hcd_nxp_probe,
index 0231606d47c2fe9b00e4082a89594d0667815c8b..989a90156f1739aec4a85d6aa40c2f969cce0bb7 100644 (file)
@@ -481,7 +481,6 @@ static struct platform_driver ohci_hcd_omap_driver = {
        .resume         = ohci_omap_resume,
 #endif
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = "ohci",
        },
 };
index 4369299064c775836aea25fdb87c3d4ac249d843..b348483ca17497dce210404997b02362b1c3350d 100644 (file)
@@ -364,7 +364,6 @@ static struct platform_driver ohci_platform_driver = {
        .remove         = ohci_platform_remove,
        .shutdown       = usb_hcd_platform_shutdown,
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = "ohci-platform",
                .pm     = &ohci_platform_pm_ops,
                .of_match_table = ohci_platform_ids,
index e68f3d02cd1a3cb14a6dbd05abdf59be1a365a4e..c069856ed39e604f66236a105ca92620483de87b 100644 (file)
@@ -610,7 +610,6 @@ static struct platform_driver ohci_hcd_pxa27x_driver = {
        .shutdown       = usb_hcd_platform_shutdown,
        .driver         = {
                .name   = "pxa27x-ohci",
-               .owner  = THIS_MODULE,
                .of_match_table = of_match_ptr(pxa_ohci_dt_ids),
 #ifdef CONFIG_PM
                .pm     = &ohci_hcd_pxa27x_pm_ops,
index 3d753a9d31411379e540f7ee9a5b95a54422492c..095113ea1fcb605a1e602715db6f6f273e60c13d 100644 (file)
@@ -462,7 +462,6 @@ static struct platform_driver ohci_hcd_s3c2410_driver = {
        .remove         = ohci_hcd_s3c2410_drv_remove,
        .shutdown       = usb_hcd_platform_shutdown,
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = "s3c2410-ohci",
                .pm     = &ohci_hcd_s3c2410_pm_ops,
        },
index 8d5876692e7ccaf08122ca766d259dfe32caad0e..062e173d8848dc36c4b3ecc7e67d32f0e352ce04 100644 (file)
@@ -176,7 +176,6 @@ static struct platform_driver spear_ohci_hcd_driver = {
        .resume =       spear_ohci_hcd_drv_resume,
 #endif
        .driver = {
-               .owner = THIS_MODULE,
                .name = "spear-ohci",
                .of_match_table = spear_ohci_id_table,
        },
index 110b4b9ebeaa1f047056b29faf6f76d9a0808ff9..c4bcfaedeec92b8b717d3db2202c56f2b7f560f1 100644 (file)
@@ -2535,7 +2535,6 @@ static struct platform_driver r8a66597_driver = {
        .remove =       r8a66597_remove,
        .driver         = {
                .name = hcd_name,
-               .owner  = THIS_MODULE,
                .pm     = R8A66597_DEV_PM_OPS,
        },
 };
index c0671750671ff0577a3a101383de4ce17f6167d4..5972c0513182d111507b0e94dcfe27121a31c844 100644 (file)
@@ -3219,7 +3219,6 @@ static struct platform_driver u132_platform_driver = {
        .resume = u132_resume,
        .driver = {
                   .name = hcd_name,
-                  .owner = THIS_MODULE,
                   },
 };
 static int __init u132_hcd_init(void)