OSDN Git Service

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 fb7bd0c..ab4eee3 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 495b6fb..2165004 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 7d75465..342816a 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 5479247..1a10c8d 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 9b6e8d0..3d86cc2 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 0e0ce68..5caf88d 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 0d24767..bdb93b6 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 a232836..f544808 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 1c76999..e5c33bc 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 8ddd8f5..4db78f1 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 965e3e9..4f87a5c 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 4e81c80..a8b8d8b 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 bef6dfb..e1b208d 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 bb40958..e9a6eec 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 05f57ff..0342991 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 cf8f460..3a3e3ee 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,
        },
 };