[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1346128683-21487-1-git-send-email-marcos.souza.org@gmail.com>
Date: Tue, 28 Aug 2012 01:38:03 -0300
From: Marcos Paulo de Souza <marcos.souza.org@...il.com>
To: FlorianSchandinat@....de
Cc: linux-fbdev@...r.kernel.org, linux-kernel@...r.kernel.org,
rjw@...k.pl, Marcos Paulo de Souza <marcos.souza.org@...il.com>
Subject: [PATCH] drivrs/video/jz4740_fb.c: Use SIMPLE_DEV_PM_OPS instead of dev_pm_ops
Just a cleanup, not functional changes.
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@...il.com>
---
Just compile test. Please double check.
drivers/video/jz4740_fb.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/video/jz4740_fb.c b/drivers/video/jz4740_fb.c
index de36693..a53fb7d 100644
--- a/drivers/video/jz4740_fb.c
+++ b/drivers/video/jz4740_fb.c
@@ -807,12 +807,7 @@ static int jzfb_resume(struct device *dev)
return 0;
}
-static const struct dev_pm_ops jzfb_pm_ops = {
- .suspend = jzfb_suspend,
- .resume = jzfb_resume,
- .poweroff = jzfb_suspend,
- .restore = jzfb_resume,
-};
+static SIMPLE_DEV_PM_OPS(jzfb_pm_ops, jzfb_suspend, jzfb_resume);
#define JZFB_PM_OPS (&jzfb_pm_ops)
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists