diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-01-31 21:13:59 -0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-02-02 13:04:55 -0600 |
commit | d9b2b19fc45265a2423fa68e22318882b42a111c (patch) | |
tree | 2621d4fb567d4633109162b33d91c68b8ca1e6ff /drivers/usb/musb | |
parent | 74379991f6eb760c8767a39c60b4a918af30f80b (diff) |
usb: musb: blackfin: remove incorrect __exit_p()
bfin_remove() is not (nor should it be) marked as __exit, so we should
not be using __exit_p() wrapper with it, otherwise unbinding through
sysfs does not work properly.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/blackfin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c index 178250145613..6123b748d262 100644 --- a/drivers/usb/musb/blackfin.c +++ b/drivers/usb/musb/blackfin.c @@ -608,7 +608,7 @@ static SIMPLE_DEV_PM_OPS(bfin_pm_ops, bfin_suspend, bfin_resume); static struct platform_driver bfin_driver = { .probe = bfin_probe, - .remove = __exit_p(bfin_remove), + .remove = bfin_remove, .driver = { .name = "musb-blackfin", .pm = &bfin_pm_ops, |