mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
usb: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
1 parent
2f82686e8c
commit
fb4e98ab63
58 files changed
+68
-68
No files matched your search
@@ -191,7 +191,7 @@ static int c67x00_drv_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit c67x00_drv_remove(struct platform_device *pdev)
|
||||
static int c67x00_drv_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct c67x00_device *c67x00 = platform_get_drvdata(pdev);
|
||||
struct resource *res;
|
||||
|
||||
@@ -220,7 +220,7 @@ put_np:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit ci13xxx_imx_remove(struct platform_device *pdev)
|
||||
static int ci13xxx_imx_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct ci13xxx_imx_data *data = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ static int ci13xxx_msm_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit ci13xxx_msm_remove(struct platform_device *pdev)
|
||||
static int ci13xxx_msm_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct platform_device *plat_ci = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ static int ci13xxx_pci_probe(struct pci_dev *pdev,
|
||||
* first invoking the udc_remove() and then releases
|
||||
* all PCI resources allocated for this USB device controller
|
||||
*/
|
||||
static void __devexit ci13xxx_pci_remove(struct pci_dev *pdev)
|
||||
static void ci13xxx_pci_remove(struct pci_dev *pdev)
|
||||
{
|
||||
struct platform_device *plat_ci = pci_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -508,7 +508,7 @@ rm_wq:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit ci_hdrc_remove(struct platform_device *pdev)
|
||||
static int ci_hdrc_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct ci13xxx *ci = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ static int usbmisc_imx6q_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit usbmisc_imx6q_remove(struct platform_device *pdev)
|
||||
static int usbmisc_imx6q_remove(struct platform_device *pdev)
|
||||
{
|
||||
usbmisc_unset_ops(&imx6q_usbmisc_ops);
|
||||
clk_disable_unprepare(usbmisc->clk);
|
||||
|
||||
@@ -547,7 +547,7 @@ err0:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit dwc3_remove(struct platform_device *pdev)
|
||||
static int dwc3_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct dwc3 *dwc = platform_get_drvdata(pdev);
|
||||
struct resource *res;
|
||||
|
||||
@@ -703,7 +703,7 @@ err0:
|
||||
return ret;
|
||||
}
|
||||
|
||||
void __devexit dwc3_debugfs_exit(struct dwc3 *dwc)
|
||||
void dwc3_debugfs_exit(struct dwc3 *dwc)
|
||||
{
|
||||
debugfs_remove_recursive(dwc->root);
|
||||
dwc->root = NULL;
|
||||
|
||||
@@ -170,7 +170,7 @@ err0:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit dwc3_exynos_remove(struct platform_device *pdev)
|
||||
static int dwc3_exynos_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct dwc3_exynos *exynos = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -421,7 +421,7 @@ err2:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit dwc3_omap_remove(struct platform_device *pdev)
|
||||
static int dwc3_omap_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct dwc3_omap *omap = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -194,7 +194,7 @@ err1:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void __devexit dwc3_pci_remove(struct pci_dev *pci)
|
||||
static void dwc3_pci_remove(struct pci_dev *pci)
|
||||
{
|
||||
struct dwc3_pci *glue = pci_get_drvdata(pci);
|
||||
|
||||
|
||||
@@ -2433,7 +2433,7 @@ out_uninit:
|
||||
* bcm63xx_udc_remove - Remove the device from the system.
|
||||
* @pdev: Platform device struct from the bcm63xx BSP code.
|
||||
*/
|
||||
static int __devexit bcm63xx_udc_remove(struct platform_device *pdev)
|
||||
static int bcm63xx_udc_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct bcm63xx_udc *udc = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -2651,7 +2651,7 @@ static int qe_udc_resume(struct platform_device *dev)
|
||||
}
|
||||
#endif
|
||||
|
||||
static int __devexit qe_udc_remove(struct platform_device *ofdev)
|
||||
static int qe_udc_remove(struct platform_device *ofdev)
|
||||
{
|
||||
struct qe_udc *udc = dev_get_drvdata(&ofdev->dev);
|
||||
struct qe_ep *ep;
|
||||
|
||||
@@ -203,7 +203,7 @@ static int __init hidg_plat_driver_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit hidg_plat_driver_remove(struct platform_device *pdev)
|
||||
static int hidg_plat_driver_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct hidg_func_node *e, *n;
|
||||
|
||||
|
||||
@@ -3352,7 +3352,7 @@ phy_fail:
|
||||
return retval;
|
||||
}
|
||||
|
||||
static int __devexit lpc32xx_udc_remove(struct platform_device *pdev)
|
||||
static int lpc32xx_udc_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct lpc32xx_udc *udc = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -1763,7 +1763,7 @@ static void mv_u3d_gadget_release(struct device *dev)
|
||||
dev_dbg(dev, "%s\n", __func__);
|
||||
}
|
||||
|
||||
static __devexit int mv_u3d_remove(struct platform_device *dev)
|
||||
static int mv_u3d_remove(struct platform_device *dev)
|
||||
{
|
||||
struct mv_u3d *u3d = platform_get_drvdata(dev);
|
||||
|
||||
|
||||
@@ -2128,7 +2128,7 @@ static void gadget_release(struct device *_dev)
|
||||
complete(udc->done);
|
||||
}
|
||||
|
||||
static int __devexit mv_udc_remove(struct platform_device *dev)
|
||||
static int mv_udc_remove(struct platform_device *dev)
|
||||
{
|
||||
struct mv_udc *udc = the_controller;
|
||||
int clk_i;
|
||||
|
||||
@@ -2193,7 +2193,7 @@ net2272_gadget_release(struct device *_dev)
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
static void __devexit
|
||||
static void
|
||||
net2272_remove(struct net2272 *dev)
|
||||
{
|
||||
usb_del_gadget_udc(&dev->gadget);
|
||||
@@ -2488,7 +2488,7 @@ net2272_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void __devexit
|
||||
static void
|
||||
net2272_rdk1_remove(struct pci_dev *pdev, struct net2272 *dev)
|
||||
{
|
||||
int i;
|
||||
@@ -2510,7 +2510,7 @@ net2272_rdk1_remove(struct pci_dev *pdev, struct net2272 *dev)
|
||||
}
|
||||
}
|
||||
|
||||
static void __devexit
|
||||
static void
|
||||
net2272_rdk2_remove(struct pci_dev *pdev, struct net2272 *dev)
|
||||
{
|
||||
int i;
|
||||
@@ -2529,7 +2529,7 @@ net2272_rdk2_remove(struct pci_dev *pdev, struct net2272 *dev)
|
||||
pci_resource_len(pdev, i));
|
||||
}
|
||||
|
||||
static void __devexit
|
||||
static void
|
||||
net2272_pci_remove(struct pci_dev *pdev)
|
||||
{
|
||||
struct net2272 *dev = pci_get_drvdata(pdev);
|
||||
@@ -2660,7 +2660,7 @@ net2272_plat_probe(struct platform_device *pdev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit
|
||||
static int
|
||||
net2272_plat_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct net2272 *dev = platform_get_drvdata(pdev);
|
||||
|
||||
@@ -2974,7 +2974,7 @@ cleanup0:
|
||||
return status;
|
||||
}
|
||||
|
||||
static int __devexit omap_udc_remove(struct platform_device *pdev)
|
||||
static int omap_udc_remove(struct platform_device *pdev)
|
||||
{
|
||||
DECLARE_COMPLETION_ONSTACK(done);
|
||||
|
||||
|
||||
@@ -3460,7 +3460,7 @@ static void s3c_hsotg_create_debug(struct s3c_hsotg *hsotg)
|
||||
*
|
||||
* Cleanup (remove) the debugfs files for use on module exit.
|
||||
*/
|
||||
static void __devexit s3c_hsotg_delete_debug(struct s3c_hsotg *hsotg)
|
||||
static void s3c_hsotg_delete_debug(struct s3c_hsotg *hsotg)
|
||||
{
|
||||
unsigned epidx;
|
||||
|
||||
@@ -3675,7 +3675,7 @@ err_clk:
|
||||
* s3c_hsotg_remove - remove function for hsotg driver
|
||||
* @pdev: The platform information for the driver
|
||||
*/
|
||||
static int __devexit s3c_hsotg_remove(struct platform_device *pdev)
|
||||
static int s3c_hsotg_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct s3c_hsotg *hsotg = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
Loaded 20 of 58 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user