mfd: omap-usb-host: get rid of build warning
authorRoger Quadros <[email protected]>
Wed, 2 Jan 2013 13:59:28 +0000 (15:59 +0200)
committerRoger Quadros <[email protected]>
Wed, 13 Feb 2013 11:22:56 +0000 (13:22 +0200)
Fixes the below build warning when driver is built-in.

drivers/mfd/omap-usb-host.c:750:12: warning:
‘usbhs_omap_remove’ defined but not used [-Wunused-function]

Signed-off-by: Roger Quadros <[email protected]>
Reviewed-by: Felipe Balbi <[email protected]>
drivers/mfd/omap-usb-host.c

index b21ca760b1bd05d46cf81e30df30ccd8e07550e4..6b5edf64de2b3a4eafbdc0ace93a5a4bd2d4caea 100644 (file)
@@ -791,7 +791,7 @@ static struct platform_driver usbhs_omap_driver = {
                .owner          = THIS_MODULE,
                .pm             = &usbhsomap_dev_pm_ops,
        },
-       .remove         = __exit_p(usbhs_omap_remove),
+       .remove         = usbhs_omap_remove,
 };
 
 MODULE_AUTHOR("Keshava Munegowda <[email protected]>");