From: Felipe Balbi Date: Tue, 15 Dec 2009 09:08:41 +0000 (+0200) Subject: USB: musb: move musb_remove to __exit X-Git-Tag: Ubuntu-5.2.0-15.16~26589^2~16 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e3060b175c1bd60586f51482464530dd1b37f3cf;p=mirror_ubuntu-eoan-kernel.git USB: musb: move musb_remove to __exit probe() already was on __init, so moving remove() to __exit. Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index bfe08f4975a3..1041bb734bb4 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -2139,7 +2139,7 @@ static int __init musb_probe(struct platform_device *pdev) return musb_init_controller(dev, irq, base); } -static int __devexit musb_remove(struct platform_device *pdev) +static int __exit musb_remove(struct platform_device *pdev) { struct musb *musb = dev_to_musb(&pdev->dev); void __iomem *ctrl_base = musb->ctrl_base; @@ -2231,7 +2231,7 @@ static struct platform_driver musb_driver = { .owner = THIS_MODULE, .pm = MUSB_DEV_PM_OPS, }, - .remove = __devexit_p(musb_remove), + .remove = __exit_p(musb_remove), .shutdown = musb_shutdown, };