diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2009-12-15 04:08:41 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-23 14:34:13 -0500 |
commit | e3060b175c1bd60586f51482464530dd1b37f3cf (patch) | |
tree | c49d6d7a2b8b266a8a55bbc3778be828381b04a1 /drivers/usb | |
parent | 95962a773ca5c1e52305fd1003d3bda59abbf371 (diff) |
USB: musb: move musb_remove to __exit
probe() already was on __init, so moving remove() to __exit.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/musb/musb_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
2139 | return musb_init_controller(dev, irq, base); | 2139 | return musb_init_controller(dev, irq, base); |
2140 | } | 2140 | } |
2141 | 2141 | ||
2142 | static int __devexit musb_remove(struct platform_device *pdev) | 2142 | static int __exit musb_remove(struct platform_device *pdev) |
2143 | { | 2143 | { |
2144 | struct musb *musb = dev_to_musb(&pdev->dev); | 2144 | struct musb *musb = dev_to_musb(&pdev->dev); |
2145 | void __iomem *ctrl_base = musb->ctrl_base; | 2145 | void __iomem *ctrl_base = musb->ctrl_base; |
@@ -2231,7 +2231,7 @@ static struct platform_driver musb_driver = { | |||
2231 | .owner = THIS_MODULE, | 2231 | .owner = THIS_MODULE, |
2232 | .pm = MUSB_DEV_PM_OPS, | 2232 | .pm = MUSB_DEV_PM_OPS, |
2233 | }, | 2233 | }, |
2234 | .remove = __devexit_p(musb_remove), | 2234 | .remove = __exit_p(musb_remove), |
2235 | .shutdown = musb_shutdown, | 2235 | .shutdown = musb_shutdown, |
2236 | }; | 2236 | }; |
2237 | 2237 | ||