diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-02-24 03:55:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-15 14:45:16 -0400 |
commit | 39d35681d5380b403855202dcd75575a8d5b0ec1 (patch) | |
tree | e8b8b01bca4af0c9d82d8882e717543db42f6a3b /drivers/usb/phy | |
parent | 8a7298d361827a1f244415dde62b1b07688d6a3a (diff) |
USB: remove incorrect __exit markups
Even if bus is not hot-pluggable, the devices can be unbound from the
driver via sysfs, so we should not be using __exit annotations on
remove() methods. The only exception is drivers registered with
platform_driver_probe() which specifically disables sysfs bind/unbind
attributes.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r-- | drivers/usb/phy/mv_u3d_phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/mv_u3d_phy.c b/drivers/usb/phy/mv_u3d_phy.c index 9d8599122aa9..bafd67f1f134 100644 --- a/drivers/usb/phy/mv_u3d_phy.c +++ b/drivers/usb/phy/mv_u3d_phy.c | |||
@@ -313,7 +313,7 @@ err: | |||
313 | return ret; | 313 | return ret; |
314 | } | 314 | } |
315 | 315 | ||
316 | static int __exit mv_u3d_phy_remove(struct platform_device *pdev) | 316 | static int mv_u3d_phy_remove(struct platform_device *pdev) |
317 | { | 317 | { |
318 | struct mv_u3d_phy *mv_u3d_phy = platform_get_drvdata(pdev); | 318 | struct mv_u3d_phy *mv_u3d_phy = platform_get_drvdata(pdev); |
319 | 319 | ||