diff mbox

[4/4] usb: musb: ux500: use SIMPLE_DEV_PM_OPS

Message ID 1379850421-7966-4-git-send-email-zonque@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Mack Sept. 22, 2013, 11:47 a.m. UTC
Just a cosmetic change to bring this file in line with other musb
platform drivers.

Signed-off-by: Daniel Mack <zonque@gmail.com>
---
 drivers/usb/musb/ux500.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff mbox

Patch

diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c
index 59256b1..819b884 100644
--- a/drivers/usb/musb/ux500.c
+++ b/drivers/usb/musb/ux500.c
@@ -377,10 +377,7 @@  static int ux500_resume(struct device *dev)
 	return 0;
 }
 
-static const struct dev_pm_ops ux500_pm_ops = {
-	.suspend	= ux500_suspend,
-	.resume		= ux500_resume,
-};
+static SIMPLE_DEV_PM_OPS(ux500_pm_ops, ux500_suspend, ux500_resume);
 
 #define DEV_PM_OPS	(&ux500_pm_ops)
 #else