]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: phy: mv-usb: remove incorrect __exit_p annotation
authorJingoo Han <jg1.han@samsung.com>
Mon, 5 Aug 2013 05:17:53 +0000 (14:17 +0900)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Aug 2013 13:34:23 +0000 (16:34 +0300)
commitd07f4a8200cfc7ff2ba23ef87dd6267a4d70fb10
tree4c7b23fd3fdf154149f741b5ac1e41f0faa9433f
parent1e0f20bea2b08775eb832e8f95d320cddd65737b
usb: phy: mv-usb: remove incorrect __exit_p annotation

When platform_driver_probe() is not used, bind/unbind via sysfs
is enabled.  Thus, __exit_p annotation should be removed from
remove().

Also, mv_otg_remove() is staticized, because this function is
used only in this file. Fix the following sparse warning:

drivers/usb/phy/phy-mv-usb.c:656:5: warning: symbol 'mv_otg_remove' was not declared. Should it be static?

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-mv-usb.c