projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95962a7
)
USB: musb: move musb_remove to __exit
author
Felipe Balbi
<
[email protected]
>
Tue, 15 Dec 2009 09:08:41 +0000
(11:08 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Wed, 23 Dec 2009 19:34:13 +0000
(11:34 -0800)
probe() already was on __init, so moving remove() to __exit.
Signed-off-by: Felipe Balbi <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/musb/musb_core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_core.c
b/drivers/usb/musb/musb_core.c
index bfe08f4975a391d5af4af9d1a633274005125348..1041bb734bb49912fa62b6541b386b76b776d247 100644
(file)
--- 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 __
dev
exit 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 = __
dev
exit_p(musb_remove),
+ .remove = __exit_p(musb_remove),
.shutdown = musb_shutdown,
};