You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
usb: remove use of __devexit_p
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Peter Korsgaard <jacmet@sunsite.dk> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Acked-by: Felipe Balbi <balbi@ti.com> Cc: Li Yang <leoli@freescale.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Wan ZongShun <mcuos.com@gmail.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Kukjin Kim <kgene.kim@samsung.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2bd6a021e8
commit
7690417db5
@@ -219,7 +219,7 @@ static int __devexit c67x00_drv_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver c67x00_driver = {
|
||||
.probe = c67x00_drv_probe,
|
||||
.remove = __devexit_p(c67x00_drv_remove),
|
||||
.remove = c67x00_drv_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "c67x00",
|
||||
|
||||
@@ -252,7 +252,7 @@ MODULE_DEVICE_TABLE(of, ci13xxx_imx_dt_ids);
|
||||
|
||||
static struct platform_driver ci13xxx_imx_driver = {
|
||||
.probe = ci13xxx_imx_probe,
|
||||
.remove = __devexit_p(ci13xxx_imx_remove),
|
||||
.remove = ci13xxx_imx_remove,
|
||||
.driver = {
|
||||
.name = "imx_usb",
|
||||
.owner = THIS_MODULE,
|
||||
|
||||
@@ -89,7 +89,7 @@ static int __devexit ci13xxx_msm_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ci13xxx_msm_driver = {
|
||||
.probe = ci13xxx_msm_probe,
|
||||
.remove = __devexit_p(ci13xxx_msm_remove),
|
||||
.remove = ci13xxx_msm_remove,
|
||||
.driver = { .name = "msm_hsusb", },
|
||||
};
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ static struct pci_driver ci13xxx_pci_driver = {
|
||||
.name = UDC_DRIVER_NAME,
|
||||
.id_table = ci13xxx_pci_id_table,
|
||||
.probe = ci13xxx_pci_probe,
|
||||
.remove = __devexit_p(ci13xxx_pci_remove),
|
||||
.remove = ci13xxx_pci_remove,
|
||||
};
|
||||
|
||||
module_pci_driver(ci13xxx_pci_driver);
|
||||
|
||||
@@ -523,7 +523,7 @@ static int __devexit ci_hdrc_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver ci_hdrc_driver = {
|
||||
.probe = ci_hdrc_probe,
|
||||
.remove = __devexit_p(ci_hdrc_remove),
|
||||
.remove = ci_hdrc_remove,
|
||||
.driver = {
|
||||
.name = "ci_hdrc",
|
||||
},
|
||||
|
||||
@@ -136,7 +136,7 @@ static int __devexit usbmisc_imx6q_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver usbmisc_imx6q_driver = {
|
||||
.probe = usbmisc_imx6q_probe,
|
||||
.remove = __devexit_p(usbmisc_imx6q_remove),
|
||||
.remove = usbmisc_imx6q_remove,
|
||||
.driver = {
|
||||
.name = "usbmisc_imx6q",
|
||||
.owner = THIS_MODULE,
|
||||
|
||||
@@ -583,7 +583,7 @@ static int __devexit dwc3_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver dwc3_driver = {
|
||||
.probe = dwc3_probe,
|
||||
.remove = __devexit_p(dwc3_remove),
|
||||
.remove = dwc3_remove,
|
||||
.driver = {
|
||||
.name = "dwc3",
|
||||
},
|
||||
|
||||
@@ -196,7 +196,7 @@ MODULE_DEVICE_TABLE(of, exynos_dwc3_match);
|
||||
|
||||
static struct platform_driver dwc3_exynos_driver = {
|
||||
.probe = dwc3_exynos_probe,
|
||||
.remove = __devexit_p(dwc3_exynos_remove),
|
||||
.remove = dwc3_exynos_remove,
|
||||
.driver = {
|
||||
.name = "exynos-dwc3",
|
||||
.of_match_table = of_match_ptr(exynos_dwc3_match),
|
||||
|
||||
@@ -441,7 +441,7 @@ MODULE_DEVICE_TABLE(of, of_dwc3_matach);
|
||||
|
||||
static struct platform_driver dwc3_omap_driver = {
|
||||
.probe = dwc3_omap_probe,
|
||||
.remove = __devexit_p(dwc3_omap_remove),
|
||||
.remove = dwc3_omap_remove,
|
||||
.driver = {
|
||||
.name = "omap-dwc3",
|
||||
.of_match_table = of_dwc3_matach,
|
||||
|
||||
@@ -218,7 +218,7 @@ static struct pci_driver dwc3_pci_driver = {
|
||||
.name = "dwc3-pci",
|
||||
.id_table = dwc3_pci_id_table,
|
||||
.probe = dwc3_pci_probe,
|
||||
.remove = __devexit_p(dwc3_pci_remove),
|
||||
.remove = dwc3_pci_remove,
|
||||
};
|
||||
|
||||
MODULE_AUTHOR("Felipe Balbi <balbi@ti.com>");
|
||||
|
||||
@@ -2450,7 +2450,7 @@ static int __devexit bcm63xx_udc_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver bcm63xx_udc_driver = {
|
||||
.probe = bcm63xx_udc_probe,
|
||||
.remove = __devexit_p(bcm63xx_udc_remove),
|
||||
.remove = bcm63xx_udc_remove,
|
||||
.driver = {
|
||||
.name = DRV_MODULE_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
|
||||
@@ -2735,7 +2735,7 @@ static struct platform_driver udc_driver = {
|
||||
.of_match_table = qe_udc_match,
|
||||
},
|
||||
.probe = qe_udc_probe,
|
||||
.remove = __devexit_p(qe_udc_remove),
|
||||
.remove = qe_udc_remove,
|
||||
#ifdef CONFIG_PM
|
||||
.suspend = qe_udc_suspend,
|
||||
.resume = qe_udc_resume,
|
||||
|
||||
@@ -229,7 +229,7 @@ static __refdata struct usb_composite_driver hidg_driver = {
|
||||
};
|
||||
|
||||
static struct platform_driver hidg_plat_driver = {
|
||||
.remove = __devexit_p(hidg_plat_driver_remove),
|
||||
.remove = hidg_plat_driver_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "hidg",
|
||||
|
||||
@@ -3447,7 +3447,7 @@ MODULE_DEVICE_TABLE(of, lpc32xx_udc_of_match);
|
||||
#endif
|
||||
|
||||
static struct platform_driver lpc32xx_udc_driver = {
|
||||
.remove = __devexit_p(lpc32xx_udc_remove),
|
||||
.remove = lpc32xx_udc_remove,
|
||||
.shutdown = lpc32xx_udc_shutdown,
|
||||
.suspend = lpc32xx_udc_suspend,
|
||||
.resume = lpc32xx_udc_resume,
|
||||
|
||||
@@ -2575,7 +2575,7 @@ static struct pci_driver net2272_pci_driver = {
|
||||
.id_table = pci_ids,
|
||||
|
||||
.probe = net2272_pci_probe,
|
||||
.remove = __devexit_p(net2272_pci_remove),
|
||||
.remove = net2272_pci_remove,
|
||||
};
|
||||
|
||||
static int net2272_pci_register(void)
|
||||
@@ -2678,7 +2678,7 @@ net2272_plat_remove(struct platform_device *pdev)
|
||||
|
||||
static struct platform_driver net2272_plat_driver = {
|
||||
.probe = net2272_plat_probe,
|
||||
.remove = __devexit_p(net2272_plat_remove),
|
||||
.remove = net2272_plat_remove,
|
||||
.driver = {
|
||||
.name = driver_name,
|
||||
.owner = THIS_MODULE,
|
||||
|
||||
@@ -3060,7 +3060,7 @@ static int omap_udc_resume(struct platform_device *dev)
|
||||
|
||||
static struct platform_driver udc_driver = {
|
||||
.probe = omap_udc_probe,
|
||||
.remove = __devexit_p(omap_udc_remove),
|
||||
.remove = omap_udc_remove,
|
||||
.suspend = omap_udc_suspend,
|
||||
.resume = omap_udc_resume,
|
||||
.driver = {
|
||||
|
||||
@@ -3708,7 +3708,7 @@ static struct platform_driver s3c_hsotg_driver = {
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = s3c_hsotg_probe,
|
||||
.remove = __devexit_p(s3c_hsotg_remove),
|
||||
.remove = s3c_hsotg_remove,
|
||||
.suspend = s3c_hsotg_suspend,
|
||||
.resume = s3c_hsotg_resume,
|
||||
};
|
||||
|
||||
@@ -316,7 +316,7 @@ static struct bcma_driver bcma_hcd_driver = {
|
||||
.name = KBUILD_MODNAME,
|
||||
.id_table = bcma_hcd_table,
|
||||
.probe = bcma_hcd_probe,
|
||||
.remove = __devexit_p(bcma_hcd_remove),
|
||||
.remove = bcma_hcd_remove,
|
||||
.shutdown = bcma_hcd_shutdown,
|
||||
.suspend = bcma_hcd_suspend,
|
||||
.resume = bcma_hcd_resume,
|
||||
|
||||
@@ -207,7 +207,7 @@ MODULE_DEVICE_TABLE(of, atmel_ehci_dt_ids);
|
||||
|
||||
static struct platform_driver ehci_atmel_driver = {
|
||||
.probe = ehci_atmel_drv_probe,
|
||||
.remove = __devexit_p(ehci_atmel_drv_remove),
|
||||
.remove = ehci_atmel_drv_remove,
|
||||
.shutdown = usb_hcd_platform_shutdown,
|
||||
.driver = {
|
||||
.name = "atmel-ehci",
|
||||
|
||||
@@ -220,7 +220,7 @@ static const struct dev_pm_ops ehci_msm_dev_pm_ops = {
|
||||
|
||||
static struct platform_driver ehci_msm_driver = {
|
||||
.probe = ehci_msm_probe,
|
||||
.remove = __devexit_p(ehci_msm_remove),
|
||||
.remove = ehci_msm_remove,
|
||||
.driver = {
|
||||
.name = "msm_hsusb_host",
|
||||
.pm = &ehci_msm_dev_pm_ops,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user