usb: host: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Sun, 21 Dec 2014 20:28:24 +0000 (21:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 20:31:53 +0000 (12:31 -0800)
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>
16 files changed:
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-grlib.c
drivers/usb/host/ehci-pmcmsp.c
drivers/usb/host/ehci-ppc-of.c
drivers/usb/host/ehci-sead3.c
drivers/usb/host/ehci-sh.c
drivers/usb/host/ehci-tilegx.c
drivers/usb/host/ehci-xilinx-of.c
drivers/usb/host/ohci-da8xx.c
drivers/usb/host/ohci-jz4740.c
drivers/usb/host/ohci-ppc-of.c
drivers/usb/host/ohci-sm501.c
drivers/usb/host/ohci-tilegx.c
drivers/usb/host/ohci-tmio.c
drivers/usb/host/uhci-grlib.c
drivers/usb/host/uhci-platform.c

index fb7bd0c7dc15473bde2abe5d1882d832a1419857..ab4eee3df97acd655040f1d6015696bb88a2c53f 100644 (file)
@@ -709,7 +709,6 @@ static struct platform_driver ehci_fsl_driver = {
        .shutdown = usb_hcd_platform_shutdown,
        .driver = {
                .name = "fsl-ehci",
-               .owner  = THIS_MODULE,
                .pm = EHCI_FSL_PM_OPS,
        },
 };
index 495b6fbcbcd9cd4d7dff81f43f3a499962d2d6be..21650044b09ea273d623b8d6d864ffe7ddd3a8f1 100644 (file)
@@ -187,7 +187,6 @@ static struct platform_driver ehci_grlib_driver = {
        .shutdown       = usb_hcd_platform_shutdown,
        .driver = {
                .name = "grlib-ehci",
-               .owner = THIS_MODULE,
                .of_match_table = ehci_hcd_grlib_of_match,
        },
 };
index 7d75465d97c77ffc950a5f2a35e43632b7a107fa..342816a7f8b148956897f866e28671de0f4923f7 100644 (file)
@@ -325,6 +325,5 @@ static struct platform_driver ehci_hcd_msp_driver = {
        .remove         = ehci_hcd_msp_drv_remove,
        .driver         = {
                .name   = "pmcmsp-ehci",
-               .owner  = THIS_MODULE,
        },
 };
index 547924796d290127bd692157a87f8d84b65dd2b1..1a10c8d542ca40c6b48e0fa349794ccb04f357aa 100644 (file)
@@ -234,7 +234,6 @@ static struct platform_driver ehci_hcd_ppc_of_driver = {
        .shutdown       = usb_hcd_platform_shutdown,
        .driver = {
                .name = "ppc-of-ehci",
-               .owner = THIS_MODULE,
                .of_match_table = ehci_hcd_ppc_of_match,
        },
 };
index 9b6e8d0eac43e0fb3bf523df9117e02524cb5e05..3d86cc2ffe68aad62be8943b7ca267fb9ad8cd69 100644 (file)
@@ -178,7 +178,6 @@ static struct platform_driver ehci_hcd_sead3_driver = {
        .shutdown       = usb_hcd_platform_shutdown,
        .driver = {
                .name   = "sead3-ehci",
-               .owner  = THIS_MODULE,
                .pm     = SEAD3_EHCI_PMOPS,
        }
 };
index 0e0ce684aff33447c5d4a2751190231212f17ca9..5caf88d679e4bbf84d0ff3dfefd9433645d0d58e 100644 (file)
@@ -189,7 +189,6 @@ static struct platform_driver ehci_hcd_sh_driver = {
        .shutdown       = ehci_hcd_sh_shutdown,
        .driver         = {
                .name   = "sh_ehci",
-               .owner  = THIS_MODULE,
        },
 };
 
index 0d247673c3ca29e604ca1f3ea58111359925f319..bdb93b6a356f43cb3b0b095a58990c3179caed73 100644 (file)
@@ -210,7 +210,6 @@ static struct platform_driver ehci_hcd_tilegx_driver = {
        .shutdown       = ehci_hcd_tilegx_drv_shutdown,
        .driver = {
                .name   = "tilegx-ehci",
-               .owner  = THIS_MODULE,
        }
 };
 
index a2328361dc80377ffbb15019509da53718260cdd..f54480850bb89eba4c44bad91d4ad01f9f8d3bf0 100644 (file)
@@ -236,7 +236,6 @@ static struct platform_driver ehci_hcd_xilinx_of_driver = {
        .shutdown       = usb_hcd_platform_shutdown,
        .driver = {
                .name = "xilinx-of-ehci",
-               .owner = THIS_MODULE,
                .of_match_table = ehci_hcd_xilinx_of_match,
        },
 };
index 1c76999b2184201d0510a888da7db8447945a698..e5c33bc98ea499df5f3ab6a61c488b717734588d 100644 (file)
@@ -431,7 +431,6 @@ static struct platform_driver ohci_hcd_da8xx_driver = {
        .resume         = ohci_da8xx_resume,
 #endif
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = "ohci",
        },
 };
index 8ddd8f5470cb6a127faae72e0157fbad299ef434..4db78f1692563cf8bf6a0c7a72fa99d3a7b326d1 100644 (file)
@@ -239,7 +239,6 @@ static struct platform_driver ohci_hcd_jz4740_driver = {
        .remove = jz4740_ohci_remove,
        .driver = {
                .name = "jz4740-ohci",
-               .owner = THIS_MODULE,
        },
 };
 
index 965e3e9e688ad85a713c51b43c2a69276ee0d22b..4f87a5c61b08501b8edfcf8322f48f32b5767f2f 100644 (file)
@@ -229,7 +229,6 @@ static struct platform_driver ohci_hcd_ppc_of_driver = {
        .shutdown       = usb_hcd_platform_shutdown,
        .driver = {
                .name = "ppc-of-ohci",
-               .owner = THIS_MODULE,
                .of_match_table = ohci_hcd_ppc_of_match,
        },
 };
index 4e81c804c73e761109ad427c5d509a0d6e040f25..a8b8d8b8d9f39dcf28db1bf35da543245fe3d332 100644 (file)
@@ -265,7 +265,6 @@ static struct platform_driver ohci_hcd_sm501_driver = {
        .suspend        = ohci_sm501_suspend,
        .resume         = ohci_sm501_resume,
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = "sm501-usb",
        },
 };
index bef6dfb0405a0947433ec148457f7c7527d1cccb..e1b208da460a47375b35ecb9ebcfe76295d0bb5d 100644 (file)
@@ -199,7 +199,6 @@ static struct platform_driver ohci_hcd_tilegx_driver = {
        .shutdown       = ohci_hcd_tilegx_drv_shutdown,
        .driver = {
                .name   = "tilegx-ohci",
-               .owner  = THIS_MODULE,
        }
 };
 
index bb409588d39c1935e9bdc850c8d3625af756c62a..e9a6eec39142584032f777aa6101c00604b5ccf5 100644 (file)
@@ -368,6 +368,5 @@ static struct platform_driver ohci_hcd_tmio_driver = {
        .resume         = ohci_hcd_tmio_drv_resume,
        .driver         = {
                .name   = "tmio-ohci",
-               .owner  = THIS_MODULE,
        },
 };
index 05f57ffdf9ab4567eb9b22db5ba5c6b26489bbf0..0342991c9507a24b31afcb7ca27b4cafb82512e3 100644 (file)
@@ -188,7 +188,6 @@ static struct platform_driver uhci_grlib_driver = {
        .shutdown       = uhci_hcd_grlib_shutdown,
        .driver = {
                .name = "grlib-uhci",
-               .owner = THIS_MODULE,
                .of_match_table = uhci_hcd_grlib_of_match,
        },
 };
index cf8f46003f622f0d80b44b6e005ebb5febeef6a0..3a3e3eeba291882b03484d6048a508194d57d82e 100644 (file)
@@ -147,7 +147,6 @@ static struct platform_driver uhci_platform_driver = {
        .shutdown       = uhci_hcd_platform_shutdown,
        .driver = {
                .name = "platform-uhci",
-               .owner = THIS_MODULE,
                .of_match_table = platform_uhci_ids,
        },
 };