usb: gadget: mv_u3d_core: fix a compile warning
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Jan 2013 14:38:19 +0000 (16:38 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:16:48 +0000 (11:16 +0200)
Fix the following compile warning:

mv_u3d_core.c:1766:12: warning: 'mv_u3d_remove' \
defined but not used [-Wunused-function]

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_u3d_core.c

index 565addcd3956f13ee4c63421c017587c6d4d576a..734ade11505f161f26ca6459d4e1bbba01e6d16e 100644 (file)
@@ -2072,7 +2072,7 @@ static void mv_u3d_shutdown(struct platform_device *dev)
 
 static struct platform_driver mv_u3d_driver = {
        .probe          = mv_u3d_probe,
-       .remove         = __exit_p(mv_u3d_remove),
+       .remove         = mv_u3d_remove,
        .shutdown       = mv_u3d_shutdown,
        .driver         = {
                .owner  = THIS_MODULE,