mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 13:38:40 +00:00
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>
This commit is contained in:
parent
f116125625
commit
1d97869198
@ -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,
|
||||
},
|
||||
};
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
|
@ -189,7 +189,6 @@ static struct platform_driver ehci_hcd_sh_driver = {
|
||||
.shutdown = ehci_hcd_sh_shutdown,
|
||||
.driver = {
|
||||
.name = "sh_ehci",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
@ -431,7 +431,6 @@ static struct platform_driver ohci_hcd_da8xx_driver = {
|
||||
.resume = ohci_da8xx_resume,
|
||||
#endif
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "ohci",
|
||||
},
|
||||
};
|
||||
|
@ -239,7 +239,6 @@ static struct platform_driver ohci_hcd_jz4740_driver = {
|
||||
.remove = jz4740_ohci_remove,
|
||||
.driver = {
|
||||
.name = "jz4740-ohci",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
@ -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",
|
||||
},
|
||||
};
|
||||
|
@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
@ -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,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user