Commit 1d978691 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman

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: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f1161256
...@@ -709,7 +709,6 @@ static struct platform_driver ehci_fsl_driver = { ...@@ -709,7 +709,6 @@ static struct platform_driver ehci_fsl_driver = {
.shutdown = usb_hcd_platform_shutdown, .shutdown = usb_hcd_platform_shutdown,
.driver = { .driver = {
.name = "fsl-ehci", .name = "fsl-ehci",
.owner = THIS_MODULE,
.pm = EHCI_FSL_PM_OPS, .pm = EHCI_FSL_PM_OPS,
}, },
}; };
...@@ -187,7 +187,6 @@ static struct platform_driver ehci_grlib_driver = { ...@@ -187,7 +187,6 @@ static struct platform_driver ehci_grlib_driver = {
.shutdown = usb_hcd_platform_shutdown, .shutdown = usb_hcd_platform_shutdown,
.driver = { .driver = {
.name = "grlib-ehci", .name = "grlib-ehci",
.owner = THIS_MODULE,
.of_match_table = ehci_hcd_grlib_of_match, .of_match_table = ehci_hcd_grlib_of_match,
}, },
}; };
...@@ -325,6 +325,5 @@ static struct platform_driver ehci_hcd_msp_driver = { ...@@ -325,6 +325,5 @@ static struct platform_driver ehci_hcd_msp_driver = {
.remove = ehci_hcd_msp_drv_remove, .remove = ehci_hcd_msp_drv_remove,
.driver = { .driver = {
.name = "pmcmsp-ehci", .name = "pmcmsp-ehci",
.owner = THIS_MODULE,
}, },
}; };
...@@ -234,7 +234,6 @@ static struct platform_driver ehci_hcd_ppc_of_driver = { ...@@ -234,7 +234,6 @@ static struct platform_driver ehci_hcd_ppc_of_driver = {
.shutdown = usb_hcd_platform_shutdown, .shutdown = usb_hcd_platform_shutdown,
.driver = { .driver = {
.name = "ppc-of-ehci", .name = "ppc-of-ehci",
.owner = THIS_MODULE,
.of_match_table = ehci_hcd_ppc_of_match, .of_match_table = ehci_hcd_ppc_of_match,
}, },
}; };
...@@ -178,7 +178,6 @@ static struct platform_driver ehci_hcd_sead3_driver = { ...@@ -178,7 +178,6 @@ static struct platform_driver ehci_hcd_sead3_driver = {
.shutdown = usb_hcd_platform_shutdown, .shutdown = usb_hcd_platform_shutdown,
.driver = { .driver = {
.name = "sead3-ehci", .name = "sead3-ehci",
.owner = THIS_MODULE,
.pm = SEAD3_EHCI_PMOPS, .pm = SEAD3_EHCI_PMOPS,
} }
}; };
......
...@@ -189,7 +189,6 @@ static struct platform_driver ehci_hcd_sh_driver = { ...@@ -189,7 +189,6 @@ static struct platform_driver ehci_hcd_sh_driver = {
.shutdown = ehci_hcd_sh_shutdown, .shutdown = ehci_hcd_sh_shutdown,
.driver = { .driver = {
.name = "sh_ehci", .name = "sh_ehci",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -210,7 +210,6 @@ static struct platform_driver ehci_hcd_tilegx_driver = { ...@@ -210,7 +210,6 @@ static struct platform_driver ehci_hcd_tilegx_driver = {
.shutdown = ehci_hcd_tilegx_drv_shutdown, .shutdown = ehci_hcd_tilegx_drv_shutdown,
.driver = { .driver = {
.name = "tilegx-ehci", .name = "tilegx-ehci",
.owner = THIS_MODULE,
} }
}; };
......
...@@ -236,7 +236,6 @@ static struct platform_driver ehci_hcd_xilinx_of_driver = { ...@@ -236,7 +236,6 @@ static struct platform_driver ehci_hcd_xilinx_of_driver = {
.shutdown = usb_hcd_platform_shutdown, .shutdown = usb_hcd_platform_shutdown,
.driver = { .driver = {
.name = "xilinx-of-ehci", .name = "xilinx-of-ehci",
.owner = THIS_MODULE,
.of_match_table = ehci_hcd_xilinx_of_match, .of_match_table = ehci_hcd_xilinx_of_match,
}, },
}; };
...@@ -431,7 +431,6 @@ static struct platform_driver ohci_hcd_da8xx_driver = { ...@@ -431,7 +431,6 @@ static struct platform_driver ohci_hcd_da8xx_driver = {
.resume = ohci_da8xx_resume, .resume = ohci_da8xx_resume,
#endif #endif
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "ohci", .name = "ohci",
}, },
}; };
......
...@@ -239,7 +239,6 @@ static struct platform_driver ohci_hcd_jz4740_driver = { ...@@ -239,7 +239,6 @@ static struct platform_driver ohci_hcd_jz4740_driver = {
.remove = jz4740_ohci_remove, .remove = jz4740_ohci_remove,
.driver = { .driver = {
.name = "jz4740-ohci", .name = "jz4740-ohci",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -229,7 +229,6 @@ static struct platform_driver ohci_hcd_ppc_of_driver = { ...@@ -229,7 +229,6 @@ static struct platform_driver ohci_hcd_ppc_of_driver = {
.shutdown = usb_hcd_platform_shutdown, .shutdown = usb_hcd_platform_shutdown,
.driver = { .driver = {
.name = "ppc-of-ohci", .name = "ppc-of-ohci",
.owner = THIS_MODULE,
.of_match_table = ohci_hcd_ppc_of_match, .of_match_table = ohci_hcd_ppc_of_match,
}, },
}; };
......
...@@ -265,7 +265,6 @@ static struct platform_driver ohci_hcd_sm501_driver = { ...@@ -265,7 +265,6 @@ static struct platform_driver ohci_hcd_sm501_driver = {
.suspend = ohci_sm501_suspend, .suspend = ohci_sm501_suspend,
.resume = ohci_sm501_resume, .resume = ohci_sm501_resume,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "sm501-usb", .name = "sm501-usb",
}, },
}; };
......
...@@ -199,7 +199,6 @@ static struct platform_driver ohci_hcd_tilegx_driver = { ...@@ -199,7 +199,6 @@ static struct platform_driver ohci_hcd_tilegx_driver = {
.shutdown = ohci_hcd_tilegx_drv_shutdown, .shutdown = ohci_hcd_tilegx_drv_shutdown,
.driver = { .driver = {
.name = "tilegx-ohci", .name = "tilegx-ohci",
.owner = THIS_MODULE,
} }
}; };
......
...@@ -368,6 +368,5 @@ static struct platform_driver ohci_hcd_tmio_driver = { ...@@ -368,6 +368,5 @@ static struct platform_driver ohci_hcd_tmio_driver = {
.resume = ohci_hcd_tmio_drv_resume, .resume = ohci_hcd_tmio_drv_resume,
.driver = { .driver = {
.name = "tmio-ohci", .name = "tmio-ohci",
.owner = THIS_MODULE,
}, },
}; };
...@@ -188,7 +188,6 @@ static struct platform_driver uhci_grlib_driver = { ...@@ -188,7 +188,6 @@ static struct platform_driver uhci_grlib_driver = {
.shutdown = uhci_hcd_grlib_shutdown, .shutdown = uhci_hcd_grlib_shutdown,
.driver = { .driver = {
.name = "grlib-uhci", .name = "grlib-uhci",
.owner = THIS_MODULE,
.of_match_table = uhci_hcd_grlib_of_match, .of_match_table = uhci_hcd_grlib_of_match,
}, },
}; };
...@@ -147,7 +147,6 @@ static struct platform_driver uhci_platform_driver = { ...@@ -147,7 +147,6 @@ static struct platform_driver uhci_platform_driver = {
.shutdown = uhci_hcd_platform_shutdown, .shutdown = uhci_hcd_platform_shutdown,
.driver = { .driver = {
.name = "platform-uhci", .name = "platform-uhci",
.owner = THIS_MODULE,
.of_match_table = platform_uhci_ids, .of_match_table = platform_uhci_ids,
}, },
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment